Setting Up Jabber Build Notifications
By Adrian Sutton
We took a little time this morning to set up Jabber notifications of build failures since we now have a dedicated pairing machine with no email account (plus the sooner you find out about a failed build the better really).
It’s all pretty straight forward to set up, the latest CruiseControl includes a jabber publisher so you just put the details in an it all happens. I’d suggest you put it inside an onfailure element to avoid getting a message every time a build occurs (and if you’re checking in regularly that will be often).
It seems to be working really well, though I would have liked it to take longer for it to get tested out but such is life. At least it didn’t take us too long to get the build fixed again.
The only problem we have is that there doesn’t seem to be a way to get a notification sent when the build is fixed – ie: the first successful build after a failed build, but no other successful builds. Anyone know how to get this to happen?