Open timja opened 6 years ago
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
Have added branch as filter to this project. Build Status is already there. When are the projects selected which are implemented?
tkleiber, see the GSoC schedule. In 2018 projects are announced on April 23, and the GSoC program ends on August 22.
Just to provide an update, unfortunately this project won't happen in GSoC this year
The project is being proposed for GSoC 2019 see https://docs.google.com/document/d/1W7YX4Y6PhIhraEQc9G-PKLSheJ6jXKgy8HmKVz1lCqs
The proposal needs some work though.
oleg_nenashev I am not clear on how the build discarded is an extension point, is it because there is a drop down Strategy called "Log Rotation"?
tkleiber, I am not a user of the multi-branch plugins, so I do not understand your requirement. Would you be able to explain it here or in this new proposal please? Feel free to add pictures or diagrams if that helps. Thanks.
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.
Originally reported by tkleiber, imported from: Need a buildDiscarder in a pipeline, which deletes only failing jobs in master branch