-
Bug
-
Resolution: Unresolved
-
Critical
-
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.