[Buildbot-devel] Is BuildSet what I need?
Bob Hood
bhood2 at comcast.net
Mon Jun 21 16:40:32 UTC 2010
On 6/21/2010 1:36 AM, A.T.Hofkamp wrote:
> Bob Hood wrote:
>> I have two build lanes that are dependent upon each other's
>> completion. I need them both to complete successfully, and then I
>> need a secondary
>> set of steps to fire when that occurs. Can Buildbot (0.7.x) do this?
>
> I read this as a third set of steps (your "secondary set of steps")
> needs a first and a second set of steps to be both completed
> successfully (your "I need them both to complete successfully").
>
> I would do this by
>
> a) Making the first and the second set of steps as a seperate builds,
> with a Triggerable() scheduler.
> b) Trigger both the above builds from the third set of steps by means
> of a trigger.Trigger() command, that waits for completion, and halts
> on failure.
Thanks, A.T. I'll look at constructing that for my purposes.
>
>> Somebody mentioned BuildSet to me, but I cannot find good examples of
>> employing it within my master.cfg to tie these build lanes together with
>> secondary steps. Is BuildSet what I need? If so, can somebody point me
>> to a location on the interwebs that is a good example of its usage (the
>
> I have never heard of this, so no idea whether it is useful in your case.
If I'm not mistaken, Schedulers use BuildSets internally, and they are
mentioned in the documentation. There just aren't any examples of their
usage anywhere that I can find. I didn't know if that's what would be
best to solve this issue or not.
More information about the devel
mailing list