Sending Mail |
|
|
Here is a BusyB project file which sends an email notification if the build fails: <?xml version="1.0" encoding="UTF-8"?>
<project>
<description>ClanRuby Test Project</description>
<logDir>/tmp/buildlogs</logDir>
<once/>
<onError>
<sendMail>
<to>devgroup@acme.com</to>
<from>buildadmin@acme.com</from>
<subject>Build Failed!</subject>
</sendMail>
</onError>
<build>
<dir>/usr/fred/test/src</dir>
<step>
<cmd>make</cmd>
</step>
</build>
</project>
|