-
Improvement
-
Resolution: Unresolved
-
Minor
-
Version 2.492.2
In the system configuration (/jenkins/manage/configure) , the configuration for a specific build discarder and project specific discarders is an option in "Advanced", "Remove last build". There does not seem to be a help text for it, nor could I find any information. Also it does not seem to be available for the pipeline or that availability isn't documented anywhere. There also isn't a snippet available. From the source code I gathered it is supposed to remove the "last successful build". Whyever someone should wish to do so - if it is declared and available, it should be documented a bit and available to the respective pipeline call, I think.