Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50887

Need a buildDiscarder in a pipeline, which deletes only failing jobs in master branch


    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Critical Critical
    • core, plugin-proposals
    • None
    • Jenkins ver. 2.107.2

      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.

            Unassigned Unassigned
            tkleiber Torsten Kleiber
            0 Vote for this issue
            5 Start watching this issue