Re: Discard Old builds/Artifacts

2013-05-14 Thread teilo
Artifacts/builds will be discarded when any of the conditions are met and the 
job is run.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Discard Old builds/Artifacts

2013-05-14 Thread k . thieling
Does anyone have any thoughts about this? 

- Original Message -
From: "KT"  
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 8, 2013 10:11:20 AM 
Subject: Discard Old builds/Artifacts 



There is a Discard old builds option in Jenkins jobs with a few different 
options. 

  

Which model does Jenkins use for artifact expiration, Number first or Date 
first? Can both the number of days and number of build artifacts be specified 
and let Jenkins figure out which one happens first? 

  

For example, if I set “Days to keep artifacts” to 15 and “Max # of builds to 
keep with artifacts” to 32, which one takes precedence?  

  

If, in that 15 day period, I have more than 32 builds with artifacts, does it 
remove the older artifacts to stay at 32, or does it keep them for 15 days? 

  

We are trying to set a standard for all of our builds to have the same number, 
however, it is hard to set a solution for projects that do not build as often.  
So, we want to keep up to 32 artifacts, and delete artifacts older than 15 
days, but not for those that do not build as often…may be no way to have all 
the jobs set the same in this case? 

  

Thoughts? 

-- 
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. 
For more options, visit https://groups.google.com/groups/opt_out . 
  
  

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Discard Old builds/Artifacts

2013-05-08 Thread KT
 

There is a Discard old builds option in Jenkins jobs with a few different 
options.

 

Which model does Jenkins use for artifact expiration, Number first or Date 
first? Can both the number of days and number of build artifacts be 
specified and let Jenkins figure out which one happens first?

 

For example, if I set “Days to keep artifacts” to 15 and “Max # of builds 
to keep with artifacts” to 32, which one takes precedence?  

 

If, in that 15 day period, I have more than 32 builds with artifacts, does 
it remove the older artifacts to stay at 32, or does it keep them for 15 
days?

 

We are trying to set a standard for all of our builds to have the same 
number, however, it is hard to set a solution for projects that do not 
build as often.  So, we want to keep up to 32 artifacts, and delete 
artifacts older than 15 days, but not for those that do not build as 
often…may be no way to have all the jobs set the same in this case?

 

Thoughts?

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.