This plugin gives Hudson a voice using FreeTTS.
This plugin requires that:
IMPORANT: Please use the 'Test speech' button in the global preferences before using Hudson Speaks! as a build notifier. If the test does not complete, or no sound is heard, you should not use Hudson Speaks! as a build notifier, and check your audio hardware.
During testing it has been found that if a linux machine does not have a correctly configured audio device, the FreeTTS library call can hang trying to speak. This will cause your build executor to hang too, and result in Hudson failing.
Hudson Speaks! is configured using a Jelly XML Script (just like a lot of the internals of Hudson itself).
The context that the Jelly script runs in is pre-configured with these variables:
This means an announcement will only be made if the current build, or the previous build was not a success. In other words the project was broken by this build, the project is still broken, or the project was fixed by this build.
The script can be specified at the global level, and also overridden at the project level.
This Plugin should work out-of-the-box on Windows, but often under Linux the sound device is not accessible.
If Hudson refuses to talk on Linux, but the 'Test speech' says success, check that the sound device (often /dev/dsp) is writable by your Hudson user:
If not, get someone with sufficient system privileges to change it for you:
An alternative to this is to use the CCTray app that comes with CruiseControl.NET and have it monitor your Hudson server. You can set this up on a shared machine or on individual developer machines. To have CCTray monitor Hudson, set it up to monitor a custom URL that looks like http://hudsonserver:hudsonport/hudsonpath/cc.xml
Basically, appending cc.xml to almost any Hudson URL (project, view, etc.) will return an XML document that CCTray can parse. You can then use CCTray to play .wav files, speak, or even control X10 devices.
CCTray is available at http://sourceforge.net/projects/ccnet/files/