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

Add configuration slicers for Discard Old Builds with artifacts

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Configuration Slicing Plugin version 1.22, Jenkins 1.429
    • Similar Issues:

      Description

      There are already slicers for "Discard Old Builds Slicer - Builds" and "Discard Old Builds Slicer - Days". A good practice is to keep the builds data for a long time, but discard the produced artifacts more frequently.

      Therefor I propose to add slicers for the advanced settings "Days to keep artifacts" and "Max # of builds to keep with artifacts" as well. Suggested new names for the slicers:

      • Discard Old Builds Slicer - Max # of builds to keep with artifacts
      • Discard Old Builds Slicer - Days to keep artifacts

      Perhaps a rename of the current slicers are need to make it clear which slicer controls what:

      • Discard Old Builds Slicer - Max # of builds to keep
      • Discard Old Builds Slicer - Days to keep builds

      Note that the proposed names are an exact match to the names used in the standard Jenkins Configure project UI.

        Attachments

          Issue Links

            Activity

            Hide
            jacob_robertson Jacob Robertson added a comment -

            look for this fix in version 1.25

            Show
            jacob_robertson Jacob Robertson added a comment - look for this fix in version 1.25
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: jacob_robertson
            Path:
            src/main/java/configurationslicing/logrotator/LogRotationSlicer.java
            http://jenkins-ci.org/commit/configurationslicing-plugin/d2af6a1e52f22dcf47d637bac1b73ec82f88bdf7
            Log:
            [FIXED JENKINS-11649]

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: jacob_robertson Path: src/main/java/configurationslicing/logrotator/LogRotationSlicer.java http://jenkins-ci.org/commit/configurationslicing-plugin/d2af6a1e52f22dcf47d637bac1b73ec82f88bdf7 Log: [FIXED JENKINS-11649]

              People

              • Assignee:
                jacob_robertson Jacob Robertson
                Reporter:
                dennisl Dennis Lundberg
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: