[users at bb.net] Accessing different builders and currently running build information from master.cfg

Tom Prince tom.prince at hocat.ca
Sat Jun 25 22:43:50 UTC 2016


On Mon, Jun 20, 2016 at 5:26 PM, Nilay Chheda <mit2nil at gmail.com> wrote:
> Hi,,
>
> I have three builders B1, B2 and B3. I have nightly scheduler for B1 whereas
> B1 in turn triggers B2 and B3 as part of its steps. I am not waiting for B2
> and B3 to complete (waitForFinish=False).
>
> Now, as part of status message for completion of B1, I want to send
> information (like build url, build status etc.) about B2 and B3 build that
> were triggered by B1. How can I do that?

Given that you are *not* waiting for the builds, there might not
actually any builds to link to. `Trigger` just creates build-requests
which may not have triggered builds by the time B1 has finished (and
there is no way to link to a build-request in 0.8.x). That being said,
if the builds have started by the time B1 is finished, it is probably
possible to be able to link to them. You will probably have to modify
`Trigger` to record the buildset that it creates, and then at the end
of B1, use that to find any builds that have been started. I'd start
by looking at the code for `Trigger` that links the builds in the
`waitForFinish=True` case.

-- 
Tom Prince
tom.prince at hocat.ca
I am available for custom buildbot development and consulting


More information about the users mailing list