Sorry, I can’t advise on why it is NOT doing what it should. Maybe some else can.
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Wood Sent: Tuesday, January 20, 2015 10:37 AM To: [email protected] Subject: Re: Archived results not being kept according tot he job configuration I created a copy of this job and the configuration under "Discard old builds" says Log rotation Max # of build to keep: 30 <under advanced> Max # of builds to keep with artifacts: 15 The config.xml files says: <logRotator class="hudson.tasks.LogRotator"> <daysToKeep>-1</daysToKeep> <numToKeep>30</numToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep> <artifactNumToKeep>15</artifactNumToKeep> </logRotator> which agrees with the configuration. As soon as I run the third build for today, it removes the archived artifacts for the first build and is only saving archived artifacts for the last two. I'm currently running Jenkins 1.554.3 Thanks, Eric On Tuesday, January 20, 2015 9:34 AM, "Ginga, Dick" <[email protected]<mailto:[email protected]>> wrote: It only applies new values after the next build From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Eric Wood Sent: Tuesday, January 20, 2015 9:24 AM To: [email protected]<mailto:[email protected]> Subject: Re: Archived results not being kept according tot he job configuration This job seems to be strange as I can see the values being changes in the config.xml, but regardless of what I set it to it seems to keep the last two builds. Any idea on why the settings are not being honored? E On Tuesday, January 20, 2015 8:51 AM, "Ginga, Dick" <[email protected]<mailto:[email protected]>> wrote: I think that it only keeps that last 14 actual days. It deletes builds older than 14 days ago. I use both the days and the next field, Max builds to keep. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Eric Wood Sent: Tuesday, January 20, 2015 8:37 AM To: Jenkinsci-users Subject: Archived results not being kept according tot he job configuration I have a job which is configured to keep builds for 14 days and archives for 14 days as well. I only have the last two build archived. The place I have configured this is in "Discard Old Build". Not sure if I am missing some other configuration step. -- 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/757364130.2291139.1421761000676.JavaMail.yahoo%40jws100202.mail.ne1.yahoo.com<https://groups.google.com/d/msgid/jenkinsci-users/757364130.2291139.1421761000676.JavaMail.yahoo%40jws100202.mail.ne1.yahoo.com?utm_medium=email&utm_source=footer>. 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E697C%40AMERMBX02.PERKINELMER.NET<https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E697C%40AMERMBX02.PERKINELMER.NET?utm_medium=email&utm_source=footer>. 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/698084047.2303460.1421763848160.JavaMail.yahoo%40jws10060.mail.ne1.yahoo.com<https://groups.google.com/d/msgid/jenkinsci-users/698084047.2303460.1421763848160.JavaMail.yahoo%40jws10060.mail.ne1.yahoo.com?utm_medium=email&utm_source=footer>. 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E69F9%40AMERMBX02.PERKINELMER.NET<https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E69F9%40AMERMBX02.PERKINELMER.NET?utm_medium=email&utm_source=footer>. 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/76697715.2335211.1421768203114.JavaMail.yahoo%40jws100129.mail.ne1.yahoo.com<https://groups.google.com/d/msgid/jenkinsci-users/76697715.2335211.1421768203114.JavaMail.yahoo%40jws100129.mail.ne1.yahoo.com?utm_medium=email&utm_source=footer>. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E6B18%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
