Skip to content

Commit

Permalink
[FIXED JENKINS-12076] The build parameter for the number of release b…
Browse files Browse the repository at this point in the history
…uilds to keep was not being saved and thus not used.
  • Loading branch information
dlvenable committed Mar 26, 2013
1 parent 3f825e9 commit 4561793
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -103,7 +103,7 @@ public class M2ReleaseBuildWrapper extends BuildWrapper {
public int numberOfReleaseBuildsToKeep = DescriptorImpl.DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP;

@DataBoundConstructor
public M2ReleaseBuildWrapper(String releaseGoals, String dryRunGoals, boolean selectCustomScmCommentPrefix, boolean selectAppendHudsonUsername, boolean selectScmCredentials, String releaseEnvVar, String scmUserEnvVar, String scmPasswordEnvVar, int numBuildsToKeep) {
public M2ReleaseBuildWrapper(String releaseGoals, String dryRunGoals, boolean selectCustomScmCommentPrefix, boolean selectAppendHudsonUsername, boolean selectScmCredentials, String releaseEnvVar, String scmUserEnvVar, String scmPasswordEnvVar, int numberOfReleaseBuildsToKeep) {
super();
this.releaseGoals = releaseGoals;
this.dryRunGoals = dryRunGoals;
Expand All @@ -113,7 +113,7 @@ public M2ReleaseBuildWrapper(String releaseGoals, String dryRunGoals, boolean se
this.releaseEnvVar = releaseEnvVar;
this.scmUserEnvVar = scmUserEnvVar;
this.scmPasswordEnvVar = scmPasswordEnvVar;
this.numberOfReleaseBuildsToKeep = numBuildsToKeep;
this.numberOfReleaseBuildsToKeep = numberOfReleaseBuildsToKeep;
}


Expand Down

0 comments on commit 4561793

Please sign in to comment.