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

"Keep this build forever" build gets deleted by "Discard old builds"

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None
    • Windows 7 x64, jdk1.6.0_31, Jenkins v1.492, runs as windows service

      builds which got marked as "Keep this build forever" are deleted by "Discard old builds" even though the build.xml contains <keepLog>true</keepLog>.

      however, there are additionally some rather old builds and build folders which start with "." still available on the hard disk but those aren't visible in the UI. This leads to that there are 380 builds on disk but the discard option is limited to 360.

      Once a "kept" build is at position 360 then it will be removed after the next build.

          [JENKINS-16805] "Keep this build forever" build gets deleted by "Discard old builds"

          robsimon created issue -
          robsimon made changes -
          Description Original: builds which got marked as "Keep this build forever" get deleted by "Discard old builds" even though the folders get renamed from "xxx" to ".xxx".

          however there are additionally some rather old builds still available on the hard disk but those aren't visible in the UI. This leads to that there are 380 builds on disk but the discard option is limited to 360.

          Once a "kept" build is at position 360 then it will be removed after the next build.
          New: builds which got marked as "Keep this build forever" are deleted by "Discard old builds" even though the folders get renamed from "xxx" to ".xxx".

          however there are additionally some rather old builds still available on the hard disk but those aren't visible in the UI. This leads to that there are 380 builds on disk but the discard option is limited to 360.

          Once a "kept" build is at position 360 then it will be removed after the next build.
          Summary Original: "Keep this build forever" get deleted "Discard old builds" New: "Keep this build forever" build gets deleted by "Discard old builds"
          robsimon made changes -
          Description Original: builds which got marked as "Keep this build forever" are deleted by "Discard old builds" even though the folders get renamed from "xxx" to ".xxx".

          however there are additionally some rather old builds still available on the hard disk but those aren't visible in the UI. This leads to that there are 380 builds on disk but the discard option is limited to 360.

          Once a "kept" build is at position 360 then it will be removed after the next build.
          New: builds which got marked as "Keep this build forever" are deleted by "Discard old builds" even though the build.xml contains <keepLog>true</keepLog>.

          however, there are additionally some rather old builds and build folders which start with "." still available on the hard disk but those aren't visible in the UI. This leads to that there are 380 builds on disk but the discard option is limited to 360.

          Once a "kept" build is at position 360 then it will be removed after the next build.
          Kenneth Endfinger made changes -
          Assignee New: Kenneth Endfinger [ kaendfinger ]
          song guo made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          song guo made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Daniel Beck made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147633 ] New: JNJira + In-Review [ 192508 ]
          ej santos made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          ej santos made changes -
          Comment [ currently running jenkins v2.28 and this issue is happening with our jobs
          builds which got marked as "Keep this build forever" are deleted by "Discard old builds" even though the build.xml contains <keepLog>true</keepLog>.

          Using: Amazon Linux AMI release 2016.03, java version "1.7.0_101" ]
          ej santos made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Reopened [ 4 ] New: Closed [ 6 ]

            kaendfinger Kenneth Endfinger
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: