Skip to content

Commit

Permalink
Merge pull request #10 from dlvenable/fix-number-of-releases-to-keep
Browse files Browse the repository at this point in the history
[FIXED JENKINS-12076] Correctly save "number of release builds to keep" parameter
  • Loading branch information
jtnord committed Apr 9, 2013
2 parents 2e22caa + e7633cb commit a46f076
Showing 1 changed file with 3 additions and 3 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 Expand Up @@ -304,7 +304,7 @@ public int getNumberOfReleaseBuildsToKeep() {
return numberOfReleaseBuildsToKeep;
}

public void setNumberOfreleaseBuildsToKeep(int numberOfReleaseBuildsToKeep) {
public void setNumberOfReleaseBuildsToKeep(int numberOfReleaseBuildsToKeep) {
this.numberOfReleaseBuildsToKeep = numberOfReleaseBuildsToKeep;
}

Expand Down

0 comments on commit a46f076

Please sign in to comment.