I have resolved this.  Under the archive artifacts section is an advanced 
checkbox that says only keep the latest in order to save disk space that 
obviously overrides the discard settings.

 

     On Tuesday, January 20, 2015 10:55 AM, "Ginga, Dick" 
<[email protected]> wrote:
   

 #yiv6690369672 #yiv6690369672 -- _filtered #yiv6690369672 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv6690369672 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv6690369672 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv6690369672 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv6690369672 
#yiv6690369672 p.yiv6690369672MsoNormal, #yiv6690369672 
li.yiv6690369672MsoNormal, #yiv6690369672 div.yiv6690369672MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv6690369672 a:link, 
#yiv6690369672 span.yiv6690369672MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv6690369672 a:visited, #yiv6690369672 
span.yiv6690369672MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv6690369672 p 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672MsoAcetate, #yiv6690369672 li.yiv6690369672MsoAcetate, 
#yiv6690369672 div.yiv6690369672MsoAcetate 
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv6690369672 
p.yiv6690369672msoacetate, #yiv6690369672 li.yiv6690369672msoacetate, 
#yiv6690369672 div.yiv6690369672msoacetate 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msonormal, #yiv6690369672 li.yiv6690369672msonormal, 
#yiv6690369672 div.yiv6690369672msonormal 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msochpdefault, #yiv6690369672 li.yiv6690369672msochpdefault, 
#yiv6690369672 div.yiv6690369672msochpdefault 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msonormal1, #yiv6690369672 li.yiv6690369672msonormal1, 
#yiv6690369672 div.yiv6690369672msonormal1 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msochpdefault1, #yiv6690369672 li.yiv6690369672msochpdefault1, 
#yiv6690369672 div.yiv6690369672msochpdefault1 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
span.yiv6690369672msohyperlink {}#yiv6690369672 
span.yiv6690369672msohyperlinkfollowed {}#yiv6690369672 
span.yiv6690369672msohyperlink1 {}#yiv6690369672 
span.yiv6690369672msohyperlinkfollowed1 {}#yiv6690369672 
span.yiv6690369672emailstyle181 {}#yiv6690369672 span.yiv6690369672emailstyle30 
{}#yiv6690369672 p.yiv6690369672msonormal2, #yiv6690369672 
li.yiv6690369672msonormal2, #yiv6690369672 div.yiv6690369672msonormal2 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv6690369672 
span.yiv6690369672msohyperlink2 
{color:blue;text-decoration:underline;}#yiv6690369672 
span.yiv6690369672msohyperlinkfollowed2 
{color:purple;text-decoration:underline;}#yiv6690369672 
p.yiv6690369672msoacetate1, #yiv6690369672 li.yiv6690369672msoacetate1, 
#yiv6690369672 div.yiv6690369672msoacetate1 
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv6690369672 
p.yiv6690369672msonormal3, #yiv6690369672 li.yiv6690369672msonormal3, 
#yiv6690369672 div.yiv6690369672msonormal3 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msochpdefault2, #yiv6690369672 li.yiv6690369672msochpdefault2, 
#yiv6690369672 div.yiv6690369672msochpdefault2 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv6690369672 
p.yiv6690369672msonormal11, #yiv6690369672 li.yiv6690369672msonormal11, 
#yiv6690369672 div.yiv6690369672msonormal11 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv6690369672 
span.yiv6690369672msohyperlink11 
{color:blue;text-decoration:underline;}#yiv6690369672 
span.yiv6690369672msohyperlinkfollowed11 
{color:purple;text-decoration:underline;}#yiv6690369672 
span.yiv6690369672emailstyle1811 {color:#1F497D;}#yiv6690369672 
p.yiv6690369672msochpdefault11, #yiv6690369672 li.yiv6690369672msochpdefault11, 
#yiv6690369672 div.yiv6690369672msochpdefault11 
{margin-right:0in;margin-left:0in;font-size:10.0pt;}#yiv6690369672 
span.yiv6690369672emailstyle301 {color:#1F497D;}#yiv6690369672 
span.yiv6690369672BalloonTextChar {}#yiv6690369672 
span.yiv6690369672EmailStyle43 {color:#1F497D;}#yiv6690369672 
.yiv6690369672MsoChpDefault {font-size:10.0pt;} _filtered #yiv6690369672 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv6690369672 div.yiv6690369672WordSection1 
{}#yiv6690369672 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]> wrote:    It only applies new values after the 
next build   From:[email protected] 
[mailto:[email protected]]On Behalf Of Eric Wood
Sent: Tuesday, January 20, 2015 9:24 AM
To: [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]> 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]]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 
[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.
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 
[email protected].
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 
[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.
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 
[email protected].
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 
[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.
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.


   

-- 
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/270083886.2344827.1421775295929.JavaMail.yahoo%40jws10097.mail.ne1.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to