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 created for diagnostic information. On 20.01.2015, at 18:25, Arpit Gupta <ar...@hortonworks.com> wrote: > 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 <m...@beckweb.net> wrote: >> >> Old builds get discarded after a new build finishes. It's not immediate. >> >>> On 20.01.2015, at 17:48, Arpit Gupta <ar...@hortonworks.com> 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 to keep. What i noticed is that days to keep old builds >>> was not being respected. >>> >>> Thinking there might be an issue when providing both i emptied out max >>> number of builds to keep and only set days to keep builds to 2. However >>> when i see all the builds available i am seeing a builds that are more than >>> 2 days old. >>> >>> I checked jenkins service logs and i cant find anything interesting in it. >>> Wanted to check here before i logged a bug in case there is something i am >>> missing. >>> >>> CONFIDENTIALITY NOTICE >>> NOTICE: This message is intended for the use of the individual or entity to >>> which it is addressed and may contain information that is confidential, >>> privileged and exempt from disclosure under applicable law. If the reader >>> of this message is not the intended recipient, you are hereby notified that >>> any printing, copying, dissemination, distribution, disclosure or >>> forwarding of this communication is strictly prohibited. If you have >>> received this communication in error, please contact the sender immediately >>> and delete it from your system. Thank You. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to jenkinsci-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/ee63f599-68f8-417f-bb2d-855853457442%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/33cjrcyLb-w/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/4C949A1D-FE66-4347-9BCD-DFA4C606504B%40beckweb.net. >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> CONFIDENTIALITY NOTICE >> NOTICE: This message is intended for the use of the individual or entity to >> which it is addressed and may contain information that is confidential, >> privileged and exempt from disclosure under applicable law. If the reader >> of this message is not the intended recipient, you are hereby notified that >> any printing, copying, dissemination, distribution, disclosure or >> forwarding of this communication is strictly prohibited. If you have >> received this communication in error, please contact the sender immediately >> and delete it from your system. Thank You. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/BFBC34DF-A78C-4CF5-93A4-BE6CF644B215%40hortonworks.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/F628C244-E3B1-4605-8357-DD6F3C1163A6%40beckweb.net. For more options, visit https://groups.google.com/d/optout.