Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: m2release-plugin
-
Labels:None
-
Environment:Jenkins LTS 1.509.4, m2release 0.13-SNAPSHOT, Oracle JDK 1.7.0_25
-
Similar Issues:
Description
The "Number of successful release builds to keep" configuration does seem to work. I've configured it to "1", but the no release build is kept.
To reproduce:
1. Configure "Number of successful release builds to keep" to "1"
2. Do a release build
3. Do Snapshot builds until the release build is the last build
4. Do yet another Snapshot build and you'll see the release build getting disposed
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Summary | "Number of successful release builds to keep" does not work | Improve help text of "Number of successful release builds to keep" |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Assignee | teilo [ teilo ] | Anders Hammar [ ahammar ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 152922 ] | JNJira + In-Review [ 194393 ] |
Seems as I switched the order of 1) and 2) when doing my tests, which doesn't work. The configuration of "Number of successful release builds to keep" isn't applied until a release build is done. So if I re-configure and then only do Snapshot builds the new configuration will not be used.
The help text should be improved with this info. I'll fix this and issue a pull request.