[Buildbot-devel] Access BuildSet IDs from a BuildStep

Jorge Gonzalez gjorge at google.com
Tue Jul 3 18:43:47 UTC 2012


Within a BuildStep, I would like to be able to compute and use the highest
buildset ID associated with any of the BuildRequests included in the
current Build.

Is there a way to achieve this from the master configuration file? i.e.,
from looking at the code, I can see that the object composition BuildStep
-> Build -*-> Buildrequest.bsid exists, so the information is there. What I
would like to know is what is the cleanest way to compute the
highest Buildrequest.bsid in a Build and use it within a BuildStep, much
like one would use a property.

Thanks,
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120703/2492cece/attachment.html>


More information about the devel mailing list