[Buildbot-devel] get current buildrequest buildsetid from buildstep

Maria Marcano mariangemarcano at gmail.com
Fri May 24 12:15:47 UTC 2013


it seems that self.build.requests[0].bsid will have current buildrequest,
I'm not sure in which condition this will have multiple requests in the
list?

Greetings,

*Maria Marcano*
-------------------------------------------------
*Software Developer  *
*Find me on*
*linkedin <http://www.linkedin.com/in/mariangemarcano> |
blogger<http://mariangemarcano.blogspot.com/>
 | twitter <http://twitter.com/mariangemarcano/>*


On Fri, May 24, 2013 at 11:08 AM, Maria Marcano
<mariangemarcano at gmail.com>wrote:

> I'm subclassing the ShellCommand
>
> class DownloadArtifact(ShellCommand):
>
> And I need to get the buildsetid
>
> something like this
>
> bsid = self.build.builder.building[0].requests[0].bsid
>
> but how do I get this value for the current buildrequest (not for all
> buildrequest)
>
> Thanks,
> Maria
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130524/cd66b6e6/attachment.html>


More information about the devel mailing list