Protocultura.cl
Articles tagged with: buildbot (1)

Sending Buildbot status results to twitter.
[en] Scribbles python, buildbot, twitter, software, 2009-02-08


Just finished a little contribution for getting buildbot to work with twitter. All it does is report the result of builds to followers of the twitter buildbot twitter user. You can get it from http://protocultura.cl/hg/buildbot-twitter/file/tip

It's based on the mail.py class that comes with Buildbot. For this to work correctly you will need to:
  • Create a twitter account. I guess best practice is to create a seperate account for this
  • Install python-twitter (hint: easy_install python-twitter)
  • Make the bbtwitter.py file available to your buildbot.
  • Add the following to your master.cfg somewhere after: c['status'] = []
import bbtwitter
c['status'].append(bbtwitter.TwitterNotifier("Your-Twitter-user", "Your-Twitter-password"))
It works for me with buildbot 0.7.9. I have only tested it in the sense that it now works for me :). As always YMMV.


Internal Nav


Data Feeds


Quote

Ajustar lo posible a las expectativas, y las expectativas a lo posible
By Marijn Vriens


Login