jenkins the definitive guide

(Jeff_L) #1

Figure 8.26. Receiving notification via SMS


8.13. Making Noise


If you have your Jenkins instance running on a machine that is physically located in proximity to the
development team, you may also want to add sounds into the mix of notification strategies. This can be
an effective strategy for small co-located teams, though it becomes trickier if the build server is set up
on a virtual machine or elsewhere in the building.


There are two ways to integrate audio feedback into your build process in Jenkins: the Jenkins Sounds
plugin and the Jenkins Speaks plugin. Both can be installed via the Plugin Manager page in the usual
manner.


The Jenkins Sounds plugin is the most flexible of the two. It allows you to build a detailed notification
strategy based on the latest build result and also (optionally) on the previous build result as well (see
Figure 8.27, “Configuring Jenkins Sounds rules in a build job”). For example, you can configure Jenkins
to play one sound the first time a build fails, a different sound if the build fails a second time, and yet
another sound when the build is fixed.

Free download pdf