On Sat, Aug 14, 2010 at 11:31 AM, Jan Matèrne <[email protected]> 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
