Figure 8.16. Advanced build job IRC notification configuration
Notification strategies (when to send notification messages, and to whom) are discussed in Section 8.7,
“Instant Messaging”. Both the Jabber plugin and the IRC plugin depend on the Instant Messaging Plugin,
so they share a number of common core features. Some options are specific to IRC plugin, however.
Here, for example, you can define a customized channel if you don’t like the global default. Finally, for
a channel notification message, you can choose what information to send in the notification messages.
Your options are build summary, SCM changes, and failed tests.
Once you save the configuration, you should be good to go. Based on what you’ve configured, this
plugin will join the appropriate IRC channels and send notification messages for build jobs.
In Figure 8.17, “IRC notification messages in action”, for example, the IRC plugin joins the #ci-book
channel on freenode. First, user juven committed some change with scm message “feature x added”
and IRC plugin let everyone on the channel know that the build was successful. Then juven committed
another change for feature y, but this time the build failed. John noticed it and fixed the build error. The
IRC plugin now happily said “Yippie, build fixed!” Note that some lines in this screen are highlighted,
this is because I logged in as user “juven” and I configured my XChat IRC client to highlight messages
containing my nickname.