Re: Discard old builds not working

2015-01-23 Thread Arpit Gupta
Ended up logging https://issues.jenkins-ci.org/browse/JENKINS-26576 as it seems like a bug to me. -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On Jan 23, 2015, at 7:59 AM, Arpit Gupta mailto:ar...@hortonworks.com>> wrote: More weirdness. I installed the discard old builds plugin an

Re: Discard old builds not working

2015-01-23 Thread Arpit Gupta
More weirdness. I installed the discard old builds plugin and when i run that it will clean up builds that are older than 1 day. But when using the default options it leaves them. I had run it yesterday morning and had to run it again today to clean up artifacts again. Also this seems to be ha

Re: Discard old builds not working

2015-01-22 Thread Arpit Gupta
Any thoughts? Or any other logs i can check that will provide me more info. Thanks -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On Jan 20, 2015, at 10:36 PM, Arpit Gupta mailto:ar...@hortonworks.com>> wrote: Looks like there is still a problem I see the following in the logs Runni

Re: Discard old builds not working

2015-01-20 Thread Arpit Gupta
Looks like there is still a problem I see the following in the logs Running the log rotation for hudson.model.FreeStyleProject@c59337d[JOB_NAME] with numToKeep=-1 daysToKeep=1 artifactNumToKeep=-1 artifactDaysToKeep=-1 When i go to the job/JOB_NAME/rssAll i see builds that are more than 1 day

Re: Discard old builds not working

2015-01-20 Thread Arpit Gupta
You are right it looks like there are 242 builds marked to keeping. I will clean that up and see if that resolves the issue. -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On Jan 20, 2015, at 9:41 AM, Daniel Beck mailto:m...@beckweb.net>> wrote: Maybe some of the builds have a log bad

Re: Discard old builds not working

2015-01-20 Thread Daniel Beck
Maybe some of the builds have a log badge, indicating they're kept for a reason? To find out why log rotation doesn't delete some builds, go to /log URL and create a log recorder for the logger hudson.tasks.LogRotator at level FINER. Run a build for the affected jog. Check the log recorder you c

Re: Discard old builds not working

2015-01-20 Thread Arpit Gupta
I have builds that have finished today(this morning) and as far out as 5 days. I had made the configuration change yesterday. -- Arpit > On Jan 20, 2015, at 9:20 AM, Daniel Beck wrote: > > Old builds get discarded after a new build finishes. It's not immediate. > >> On 20.01.2015, at 17:48, Ar

Re: Discard old builds not working

2015-01-20 Thread Daniel Beck
Old builds get discarded after a new build finishes. It's not immediate. On 20.01.2015, at 17:48, Arpit Gupta wrote: > Hi > > I am running version 1.595 and running into issues where old builds are not > being discarded. I had previously set both Days to keep builds and max number > of builds

Discard old builds not working

2015-01-20 Thread Arpit Gupta
Hi I am running version 1.595 and running into issues where old builds are not being discarded. I had previously set both Days to keep builds and max number of builds to keep. What i noticed is that days to keep old builds was not being respected. Thinking there might be an issue when providin