ReleaseEngineering/How To/Setup Personal Development Master: Difference between revisions

Line 272: Line 272:
  make reset-db
  make reset-db
  make start
  make start
== Getting build notifications ==
It might be useful to know when a build finishes or the status of certain builds. This way you don't have to keep an eye on your dev master and move on to other awesome things. There are a few ways to accomplish this:
* Using Buildbot's IRC bot
**first add the following to your list of status obj in your master.cfg:
  irc = words.IRC("irc.mozilla.org", "<your-bot-nick>",
                  channels=["<irc-channel>"],  useSSL=True,
                  port=6697, allowForce=False,
                  notify_events={
                    'exception': 1,
                    'successToFailure': 1,
                    'failureToSuccess': 1,
                  })
  c['status'].append(irc)
now reconfig and your should see your bot join <irc-channel>. From there you can do a number of things: http://docs.buildbot.net/0.8.0/IRC-Bot.html
I like to start a private chat with my bot and request the build status when a job finishes. This gives me actual pings!
you can do this like so from irc:
  > /query <your-bot-nick>
  > notify on finished
* Using Check4Change Firefox extension:
** this extension will check if a page changes without having to actually refresh! You can hook this up to your dev master buildbot web UI
** for more details: http://www.check4change.com/


= See Also =
= See Also =
Confirmed users
502

edits