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

old builds not getting cleaned up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core
    • None
    • CentOS 6, Jenkins v1.595

      I am running into an issue where old builds are not getting cleaned up.

      I added a log for hudson.tasks.LogRotator at level FINER and when i look at the log I see stuff like

      Jan 23, 2015 10:23:33 AM FINE hudson.tasks.LogRotator
      
      Running the log rotation for hudson.model.FreeStyleProject@c59337d[JOB_NAME] with numToKeep=-1 daysToKeep=1 artifactNumToKeep=-1 artifactDaysToKeep=1
      

      However builds that are older than 1 day are not getting cleaned up. There is no other log that might say stuff like build is a keeper do not delete etc.

      When i enable discard old build plugin as a post build action it ends up cleaning a bunch of builds. But the in built feature does not seem to be working.

      Also it seems specific to just one job as other jobs are being cleaned up.

            Unassigned Unassigned
            arpitgupta Arpit Gupta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: