[Buildbot-devel] Ignore revision in Dependent scheduler

stepchen chc.m1005+bb1204 at gmail.com
Fri Apr 20 20:54:33 UTC 2012

I can't set it in buildStep. The builder is triggered by both a
SingleBranchScheduler and a Dependent. When it is triggered by the
former, we want it to build the specified revision, when it is
triggered by the latter, we want it to build the HEAD.

Sorry, I should have mentioned that.


2012/4/20 Amber Yust <ayust at yelp.com>:
> You probably want to look at the alwaysUseLatest argument to the Source step
> of the downstream builder.
> ~Amber
> On Fri, Apr 20, 2012 at 1:29 PM, stepchen <chc.m1005+bb1204 at gmail.com>
> wrote:
>> Hi,
>> Is there a way to get the downstream builder to always ignore the
>> revision the upstream builder built from and always build the HEAD
>> revision?
>> At 0.7.12, we used to overwrite the SourceStamp argument to
>> Dependent.upstreamBuilt, but that function is done in 0.8.6.
>> cfg-schedulers.html says
>> <<<<<<<<<
>> Note that, for SourceStamps generated by a ChangeSource, the revision
>> is None, meaning HEAD. If any changes are committed between the time
>> the upstream scheduler begins its build and the time the dependent
>> scheduler begins its build, then those changes will be included in the
>> downstream build.
>> >>>>>>>>>
>> but I can't figure out how to make use of that.
>> Chi-Hua
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel

More information about the devel mailing list