[Buildbot-devel] Help with Buildbot MessagePub Status Plugin

Sai Venkatakrishnan saidesertrose2004 at gmail.com
Wed Mar 10 14:18:32 UTC 2010


Hi all,

I have been using buildbot for sometime and now currently working on writing
a custom status notification. I want to post data to messagepub (For those
not familiar http://messagepub.com/) so that it can multiplex message to the
team at mail, chat and twitter. I used mail.py in buildbot/status and
webhook_status.py under contrib as reference.


Here is the code as github gist http://gist.github.com/327825 (I don't want
to clutter mail so gist :). The usage is as normal notifier append it to the
status array in buildmasterconfig dict.

from buildbot.status import messagepub

c['status'].append(messagepub.Notifier(recipient="test at blah.com", key="your
messagepub access key"))

I can see the master startup that the notifier gets added. But after that it
doesn't seem to function at all. I am not able to get the log messages.
Can any of you buildbot internals experts help me out why this doesn't seem
to work... Incentive for fixing this is "Code can add it as contrib and give
awesome notifications using messagepub. Even SMS and voice channels are
available :)".


Please let me know what I am doing wrong in the code? Smack me in the head
if I have done something silly :P.

P.S Is there any way to test plugin in buildbot without running the build.
Unit tests run fine but thing doesn't seem to work as a whole...

-- 
Regards,
Sai

http://developer-in-test.blogspot.com
Fork me @ http://github.com/saivenkat/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100310/3f4cc022/attachment.html>


More information about the devel mailing list