[Buildbot-devel] source steps that purge "once in a while" ?
Amber Yust
ayust at yelp.com
Wed Feb 9 19:12:36 UTC 2011
Use a ShellCommand with a doStepIf (to determine which builds to run it)
that runs a clean command?
~Amber
On Wed, Feb 9, 2011 at 11:06 AM, Philippe McLean
<philippe.mclean at gmail.com>wrote:
> Hi all,
>
> does anyone have any experience creating source steps that do a purge of
> obj/binaries "once in a while" where "once in a while" is a configurable
> predicate, like, every 4 builds, or once a day, or once a week?
>
> something like:
>
> factory.addStep(source.SVN(mode='update', baseURL='svn://repo',
> defaultBranch='trunk', always_purge=False, purgePolicy="buildnumber % 4 ==
> 0"))
>
> thanks
> Phil McLean
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110209/0fa06f3b/attachment.html>
More information about the devel
mailing list