Did you try with the Artifact Cleanup Publisher ? http://confluence.public.thoughtworks.org/display/CCNET/Artifact+Cleanup+Publisher
On 6 avr, 15:50, Zoltan <[email protected]> wrote: > Hi gents, > > I'm using the following block in my cc.net project for cleaning up the > older builds: > > <buildpublisher> > <sourceDir>c:\Projects\GL\Tachyon\_Lib\DebugWin32</sourceDir> > <publishDir>C:\builds\GL\exe\$[$CCNetLabel]\DebugWin32</publishDir> > <useLabelSubDirectory>false</useLabelSubDirectory> > <alwaysPublish>false</alwaysPublish> > <cleanUpMethod>DeleteBuildsOlderThanXDays</cleanUpMethod> > <cleanUpValue>14</cleanUpValue> > </buildpublisher> > > (There's a reson why I'm using the CCNetLabel variable in the > publishDir block this way.) > > According to my experiences, CC.NET clears e.g. the project timeline, > and if I check the "View all builds" menu from the webdashboard, I > don't see any builds older than 14 days, which is exactly the expected > result. But: for some reason, none of the published builds are deleted > in the publishDir. > I can't see any exceptions or errors while debugging the server. Am I > using something wrong with the publisher block written above? Or is > there a glitch in the system? > > I'm using CC.NET 1.5.6957.2 right now. > > Thank you in anticipation, > Zoltan -- To unsubscribe, reply using "remove me" as the subject.
