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 ]

          evernat added a comment -

          Is it reproduced with a recent Jenkins version?

          evernat added a comment - Is it reproduced with a recent Jenkins version?

          Daniel Beck added a comment -

          No response by report in three months, so closing as incomplete.

          Note that the directories with the leading period are created when a build is being deleted, so incomplete deletions don't leave Jenkins-accessible data.

          Daniel Beck added a comment - No response by report in three months, so closing as incomplete. Note that the directories with the leading period are created when a build is being deleted, so incomplete deletions don't leave Jenkins-accessible data.
          Daniel Beck made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          robsimon added a comment -

          Sorry, I never got the notification from the comment. I'll look into it within the next weeks if it is still occurring on newer versions. Thanks.

          robsimon added a comment - Sorry, I never got the notification from the comment. I'll look into it within the next weeks if it is still occurring on newer versions. Thanks.

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

              Created:
              Updated:
              Resolved: