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" 
<dick.gi...@perkinelmer.com> wrote:
   

 #yiv9854633298 #yiv9854633298 -- _filtered #yiv9854633298 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9854633298 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9854633298 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv9854633298 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv9854633298 
#yiv9854633298 p.yiv9854633298MsoNormal, #yiv9854633298 
li.yiv9854633298MsoNormal, #yiv9854633298 div.yiv9854633298MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv9854633298 a:link, 
#yiv9854633298 span.yiv9854633298MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv9854633298 a:visited, #yiv9854633298 
span.yiv9854633298MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv9854633298 p 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv9854633298 
p.yiv9854633298MsoAcetate, #yiv9854633298 li.yiv9854633298MsoAcetate, 
#yiv9854633298 div.yiv9854633298MsoAcetate 
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv9854633298 
p.yiv9854633298msonormal, #yiv9854633298 li.yiv9854633298msonormal, 
#yiv9854633298 div.yiv9854633298msonormal 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv9854633298 
p.yiv9854633298msochpdefault, #yiv9854633298 li.yiv9854633298msochpdefault, 
#yiv9854633298 div.yiv9854633298msochpdefault 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv9854633298 
span.yiv9854633298msohyperlink {}#yiv9854633298 
span.yiv9854633298msohyperlinkfollowed {}#yiv9854633298 
span.yiv9854633298emailstyle18 {}#yiv9854633298 p.yiv9854633298msonormal1, 
#yiv9854633298 li.yiv9854633298msonormal1, #yiv9854633298 
div.yiv9854633298msonormal1 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv9854633298 
span.yiv9854633298msohyperlink1 
{color:blue;text-decoration:underline;}#yiv9854633298 
span.yiv9854633298msohyperlinkfollowed1 
{color:purple;text-decoration:underline;}#yiv9854633298 
span.yiv9854633298emailstyle181 {color:#1F497D;}#yiv9854633298 
p.yiv9854633298msochpdefault1, #yiv9854633298 li.yiv9854633298msochpdefault1, 
#yiv9854633298 div.yiv9854633298msochpdefault1 
{margin-right:0in;margin-left:0in;font-size:10.0pt;}#yiv9854633298 
span.yiv9854633298BalloonTextChar {}#yiv9854633298 
span.yiv9854633298EmailStyle30 {color:#1F497D;}#yiv9854633298 
.yiv9854633298MsoChpDefault {font-size:10.0pt;} _filtered #yiv9854633298 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv9854633298 div.yiv9854633298WordSection1 
{}#yiv9854633298 It only applies new values after the next build    From: 
jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com]On 
Behalf Of Eric Wood
Sent: Tuesday, January 20, 2015 9:24 AM
To: jenkinsci-users@googlegroups.com
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" <dick.gi...@perkinelmer.com> 
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:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com]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 
tojenkinsci-users+unsubscr...@googlegroups.com.
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.
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 
tojenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E697C%40AMERMBX02.PERKINELMER.NET.
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 
tojenkinsci-users+unsubscr...@googlegroups.com.
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.
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/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4E69F9%40AMERMBX02.PERKINELMER.NET.
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/76697715.2335211.1421768203114.JavaMail.yahoo%40jws100129.mail.ne1.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to