-
Improvement
-
Resolution: Fixed
-
Minor
-
None
First off, thanks for this very helpful plugin.
I use this plugin to monitor for systemic stability issues and keep the relevant build artifacts when issues are found. Then when I have time, I review these artifacts and identify the most common issues.
One feature which would really help this use-case, which I think may be a minor change, would be to add
'keep all unstable and failing builds'.
There may also be use-cases for:
'keep all unstable builds'.
'keep all failing builds'.
But for our particular case, we'd ideally want to be able to use 'keep all unstable and failing builds'.
Code changed in jenkins
User: bap2000
Path:
pom.xml
src/main/java/org/jenkins_ci/plugins/build_keeper/RunConditionPolicy.java
src/main/resources/org/jenkins_ci/plugins/build_keeper/Messages.properties
src/main/resources/org/jenkins_ci/plugins/build_keeper/RunConditionPolicy/config.jelly
src/main/resources/org/jenkins_ci/plugins/build_keeper/RunConditionPolicy/config.properties
src/main/resources/org/jenkins_ci/plugins/build_keeper/RunConditionPolicy/help-keepBuildIfEvalFails.html
src/main/resources/org/jenkins_ci/plugins/build_keeper/RunConditionPolicy/help-runCondition.jelly
http://jenkins-ci.org/commit/build-keeper-plugin/a75b6ea76f9f29a8529820f8bf386a5af7876e56
Log:
Add a policy that evaluates RunConditions
[FIXED JENKINS-13315] (Use "Current build status" with Best set to Unstable and Worst set to Failed ... or Pending or Aborted)