[Buildbot-devel] Linking triggered builds in waterfall

William Deegan bill at baddogconsulting.com
Fri Dec 9 21:19:50 UTC 2011


Yes! Sounds Great!

If you want me to test some on my config, lemme know.
On Dec 9, 2011, at 8:10 AM, Jared Grubb wrote:

> So after much fiddling, I did get this to work (basically push the bsid from Triggerable to Trigger and then translate it into brid's, and use BuildRequestStatus to find the Build/ers). I then addURL'd a link to the buildsteps to link them together in the waterfall UI, which is pretty nice once you see it. 
> Is there any interest in a patch(+tests) submission?
> Jared
> On 4 Dec 2011, at 22:04, Jared Grubb wrote:
>> On 4 Dec 2011, at 21:43, William Deegan wrote:
>>> 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.
>> If B triggers X,Y,Z, I want the MailNotifier for B (and the build page for B) to have the URL for X, Y, and Z builds. I think what you suggest is to tell X,Y,Z about B... I want the reverse.
>> Jared

More information about the devel mailing list