[Buildbot-devel] source steps that purge "once in a while" ?

Amber Yust ayust at yelp.com
Wed Feb 9 19:32:56 UTC 2011


Your "buildnumber % X" proposal seemed like a good one. I'm not sure there's
a good way to persist values across builds that aren't already there (like
the buildnumber).

~Amber

On Wed, Feb 9, 2011 at 11:16 AM, Philippe McLean
<philippe.mclean at gmail.com>wrote:

> good idea, thanks.
>
> how would I keep track of  some value that would persist across builds?
> e.g. a count that was reset when I purged?
> (does this doStepIf run in the context of the master, or on the slave?)
>
>
> On Wed, Feb 9, 2011 at 11:12 AM, Amber Yust <ayust at yelp.com> wrote:
>
>> 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/a4606102/attachment.html>


More information about the devel mailing list