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

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

    XMLWordPrintable

Details

    • New Feature
    • Status: In Review (View Workflow)
    • Critical
    • Resolution: Fixed
    • core, plugin-proposals
    • 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.

      Attachments

        Activity

          tkleiber Torsten Kleiber created issue -
          tkleiber Torsten Kleiber made changes -
          Field Original Value New Value
          Description For regulatory logging we have to keep all builds of a pipeline, which reaching production.
          These are the successfull.
          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.
          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.
          oleg_nenashev Oleg Nenashev made changes -
          Component/s plugin-proposals [ 15491 ]
          oleg_nenashev Oleg Nenashev added a comment -

          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

          oleg_nenashev Oleg Nenashev added a comment - 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 Torsten Kleiber added a comment - 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.

          deepchip Martin d'Anjou added a comment - tkleiber , see the GSoC schedule . In 2018 projects are announced on April 23, and the GSoC program ends on August 22.
          oleg_nenashev Oleg Nenashev added a comment -

          Just to provide an update, unfortunately this project won't happen in GSoC this year

          oleg_nenashev Oleg Nenashev added a comment - Just to provide an update, unfortunately this project won't happen in GSoC this year
          miraha jang hyemi (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          miraha jang hyemi (Inactive) made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          miraha jang hyemi (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Closed [ 6 ]
          miraha jang hyemi (Inactive) made changes -
          Status Closed [ 6 ] In Review [ 10005 ]
          miraha jang hyemi (Inactive) made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          miraha jang hyemi (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          miraha jang hyemi (Inactive) made changes -
          Status Closed [ 6 ] In Review [ 10005 ]
          miraha jang hyemi (Inactive) made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          miraha jang hyemi (Inactive) made changes -
          Status Resolved [ 5 ] In Review [ 10005 ]

          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"?

          deepchip Martin d'Anjou added a comment - 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.

          deepchip Martin d'Anjou added a comment - 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.

          People

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

            Dates

              Created:
              Updated:
              Resolved: