Skip to content

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented Jun 1, 2016

SCM user/pass no longer exposed as env vars.
JENKINS-35261

}
if (StringUtils.isNotBlank(m2Wrapper.getScmUserEnvVar())) {
String scmUsernameVal = StringUtils.isEmpty(scmUsername) ? "" : scmUsername;
values.add(new StringParameterValue(m2Wrapper.getScmUserEnvVar(), scmUsernameVal));
safeParams.add(m2Wrapper.getScmUserEnvVar());
}
values.add(new StringParameterValue(M2ReleaseBuildWrapper.DescriptorImpl.DEFAULT_RELEASE_VERSION_ENVVAR, releaseVersion));
values.add(new StringParameterValue(M2ReleaseBuildWrapper.DescriptorImpl.DEFAULT_DEV_VERSION_ENVVAR, developmentVersion));
values.add(new BooleanParameterValue(M2ReleaseBuildWrapper.DescriptorImpl.DEFAULT_DRYRUN_ENVVAR, isDryRun));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

releaseVersion and developmentVersion should also be added to safe params list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants