Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-12076] Add the ability to specify the number of releas…
…e builds to keep. If the number is -1 then all builds are kept. a positive number will keep that many sucessfull release builds. Any other number (< -1 or 0) will cause no release builds to be kept.
- Loading branch information
Showing
4 changed files
with
106 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/main/webapp/help-projectConfig-help-numberOfReleaseBuildsToKeep.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
Specify the number of successful release builds to keep forever. | ||
A value of <tt>-1</tt> will lock all successful release builds, <tt>0</tt> will not lock any builds. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As the number of kept releases is a rather minor informative info, I think 'numberOfReleaseBuildsToKeep' should rather go into the advanced section.