• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Currently you can configure a job to keep either artifacts of all builds or only
      from the latest successful build.

      I have a job with quite large artifacts. I want to keep a long build history
      (logs and build times). Also I would like to keep the latest 5 artifacts (or so)
      to be able to analyze them etc..

      For this to work I would like to have an option in the artifacts settings:
      Instead of:
      [ ] Discard all but the last successful artifact to save disk space
      I propose:
      [ ] Keep only artifacts of the last [<number>] successful builds to save disk space

          [JENKINS-834] add option to keep a number of artifacts

          gradopado created issue -
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-2144 [ JENKINS-2144 ]
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-3343 [ JENKINS-3343 ]
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-1298 [ JENKINS-1298 ]
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-4198 [ JENKINS-4198 ]
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130907 ] New: JNJira + In-Review [ 200217 ]

            abayer Andrew Bayer
            gradopado gradopado
            Votes:
            22 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: