[Buildbot-devel] Cleaning, but not every build

Igor Slepchin igor at roundbox.com
Thu Jul 17 15:46:37 UTC 2008


Sure, that's why I recommended a build step ;) BTW, softlinking two 
builds to the same directory as proposed earlier will have the same 
problem unless you make them mutually exclusive with locking.

Ben Hearsum wrote:
> I don't think this is a good way to go about it...what happens when the 
> cronjob runs at the time as a build?
> 
> On 17-Jul-08, at 7:41 AM, John Earl wrote:
> 
>> Or just use a one line shell script for a cron job on the slave...
>>
>> Igor Slepchin wrote:
>>> You could add a Shell build step that invokes a script to do the clean
>>> up. Either something like "make clean" as the first step or "rm -rf" as
>>> the last step. The script should be smart enough to do its cleanup only
>>> once a day, naturally...
>>>
>>> Cheers,
>>> Igor





More information about the devel mailing list