I just recently learned that "keeping a build forever" does not necessarily mean that it's artifacts are also saved forever.
      Right now I try to keep the number of saved artifacts to a minimum by selecting the "Discard all but the last successful/stable artifact to save disk space"-option, but this also deletes the artifacts of old release builds!

      It would be nice to have an option in the release build section that allows me to keep the artifacts for all release builds, no matter if the "Discard all but the last successful/stable artifact to save disk space"-option or the "Discard Old Builds"-option are selected or not.

      I have not found an easy workaround for this so far, that's why I created this issue.

          [JENKINS-8392] Keep release build artifacts forever

          fredg02 created issue -
          fredg02 made changes -
          Description Original: I just recently learned that "keeping a build forever" does not necessarily mean that it's artifacts are also saved forever.
          Right now I try to keep the number of saved artifacts to a minimum by selecting the "Discard all but the last successful/stable artifact to save disk space"-option, but this also deletes the artifacts of old release builds!

          It would be nice to have option in the release build section that allows me to keep the artifacts for all release builds, no matter if the "Discard all but the last successful/stable artifact to save disk space"-option or the "Discard Old Builds"-option are selected or not.

          I have not found an easy workaround for this so far, that's why I created this issue.
          New: I just recently learned that "keeping a build forever" does not necessarily mean that it's artifacts are also saved forever.
          Right now I try to keep the number of saved artifacts to a minimum by selecting the "Discard all but the last successful/stable artifact to save disk space"-option, but this also deletes the artifacts of old release builds!

          It would be nice to have an option in the release build section that allows me to keep the artifacts for all release builds, no matter if the "Discard all but the last successful/stable artifact to save disk space"-option or the "Discard Old Builds"-option are selected or not.

          I have not found an easy workaround for this so far, that's why I created this issue.
          Peter Hayes made changes -
          Link New: This issue is related to JENKINS-6166 [ JENKINS-6166 ]
          Emil Sit made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138502 ] New: JNJira + In-Review [ 174916 ]
          Robert Hencke made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: release-plugin [ 15622 ]
          Robert Hencke made changes -
          Labels New: log-rotator
          Robert Hencke made changes -
          Labels Original: log-rotator New: ArtifactArchiver log-rotator

            petehayes Peter Hayes
            fredg02 fredg02
            Votes:
            12 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: