www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: Script for enforcing discarding of old builds
Date Sat, 14 Aug 2010 10:29:16 GMT
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