Details
-
New Feature
-
Status: In Review (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
Jenkins ver. 2.107.2
Description
For regulatory logging we have to keep all builds of a pipeline, which reaching production.
These are the successful ones.
All other can be deleted after some time.
This should be a new property of the buildDiscarder
These configuration should be depending on the branch, maybe this last part can be solved by a when expresssion but maybe a Multi branch configuration of buildDiscarder is required.
BuildDiscarder is an extension point, so it can be implemented in a plugin.
Apparently deepchip was proposing a related project to GSoC this year: https://jenkins.io/projects/gsoc/gsoc2018-project-ideas/#discard-builds-step-plugin