www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne <apa...@materne.de>
Subject AW: Script for enforcing discarding of old builds
Date Sat, 14 Aug 2010 12:41:52 GMT
Done - please re-check.

Jan

> -----Ursprüngliche Nachricht-----
> Von: Niklas Gustavsson [mailto:niklas@protocol7.com]
> Gesendet: Samstag, 14. August 2010 12:29
> An: builds@apache.org
> Betreff: Re: Script for enforcing discarding of old builds
> 
> On Sat, Aug 14, 2010 at 11:31 AM, Jan Matèrne <apache@materne.de>
> wrote:
> > I committed a script to
> committers/tools/hudson/SetDiscardOldBuilds.groovy
> > Please have a look before running it ;-)
> 
> Thanks! We also need to take getDaysToKeep() into consideration.
> Something like:
> 
> * If a build has days to keep set, enforce that the value is not
> larger than a maximum that we allow
> * If a build has num to keep set, enforce that the value is not larger
> than a maximum that we allow
> * Else, if no value is set for either, set the maximum num to keep
> 
> I'll see if I can modify the script to do this, or if you get there
> before me :-)
> 
> /niklas


Mime
View raw message