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

Artifacts can be deleted even if marked "Keep this build forever"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Ubuntu 10.04.4 LTS, Jenkins 1.467
    • Similar Issues:

      Description

      If the "Discard all but the last successful/stable artifact to save disk space" box under "Archive the artifacts" is checked, Jenkins will delete the artifacts from an old build even if the "Keep this build forever" button was clicked on the old build.

      I doubt this matters but we run our Jenkins master via "java -jar /usr/share/jenkins/jenkins.war"

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          The 'Keep this build forever' only influences the behavior of the Log Rotator/Build Discarder configured at the top of a project. Use that (number of builds with artifacts to keep: 1) instead of the option of the Artifact Archiver.

          Show
          danielbeck Daniel Beck added a comment - The 'Keep this build forever' only influences the behavior of the Log Rotator/Build Discarder configured at the top of a project. Use that (number of builds with artifacts to keep: 1) instead of the option of the Artifact Archiver.

            People

            • Assignee:
              Unassigned
              Reporter:
              asm2jenkins Adam Moskowitz
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: