[Buildbot-devel] Linking triggered builds in waterfall

William Deegan bill at baddogconsulting.com
Mon Dec 5 05:43:28 UTC 2011


Jared,
On Dec 4, 2011, at 1:17 PM, Jared Grubb wrote:

> I have a builder that is a setup followed by a series of triggers. If one of the triggered builds fail (or if I want to look at something in that build), I have to manually guess which build in the waterfall corresponds to the trigger. I cant find anything in the "big" build that links to the actual triggered "little" builds.. right?
> 
> I've been trying to subclass Trigger and Triggerable and modify the deferred callbacks to communicate that information but I'm not doing too well... It looks like Triggerable has the buildset id, but how can I use that to retrieve the BuildStatus objects from that? I suppose all I really need are (builder name, build id) tuples to build a URL, but getting the BuildStatus would be more general, for example if I wanted to later add stdio logs to the email.

You could pass information in the trigger as a property.
I add a "triggered_by" property for such.

-Bill



More information about the devel mailing list