[Buildbot-devel] How to get the branch in PBListener?
Benoît Allard
benoit at aeteurope.nl
Tue Nov 15 09:42:48 UTC 2011
On 11/14/2011 6:22 PM, Rod Taylor wrote:
> Starting with a copy of clients/base.py I hacked it up to call out to
> notify-send on my local machine so I get Gnome notifications for build
> results.
>
> I can't quite seem to get the name of the branch out of the build
> object. I think I need some kind of build.callRemote().addCallback()
> mechanism but cannot quite figure it out. I would like to add the branch
> name to the messages prepared for notify-send.
>
I don't think it needs to be that complicated. As a build object should
have a sourcestamp property (I guess accessible vie getSourceStamp())
which should have a revision/repository/project/branch property.
Regards,
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4936 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20111115/76c3581a/attachment.bin>
More information about the devel
mailing list