-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.x
I would love to be able to "Keep this build forever" from pipeline DSL syntax. Currently this is not available via currentBuild (or http://javadoc.jenkins.io/plugin/workflow-support/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.html respectively).
A workaround is to use currentBuild.rawBuild.keepLog(), but this requires adding two security exceptions, one of them being critical...
Simply exposing keepLog(boolean) via the RunWrapper would solve it imho
- is duplicated by
-
JENKINS-39028 [RFE] keep build forever - expose for current build and allow in sandbox
- Resolved