[Buildbot-devel] Accessing other Build's properties from a BuildStep

Brian Lalor blalor at bravo5.org
Tue May 28 10:43:03 UTC 2013


On May 28, 2013, at 3:19 AM, Vasilij <vassnlit at gmail.com> wrote:

> Might be an ugly way, but you could directly query the underlying DB (buildbot has the API for that).
> 


I actually just stumbled on it; in a BuildStep you can get a reference to the master, and from there query the builders.

master = self.build.builder.botmaster.parent

--
Brian Lalor
blalor at bravo5.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130528/a6bd638c/attachment.html>


More information about the devel mailing list