I have CruiseControl.NET setup to send out an email if there is a compile error and when the error has been fixed:
<notifications>
<notificationType>Change</notificationType>
</notifications>
However this also sends out an email if the source code repository can’t be reached. This is expected since the server is restarted every night.
How can I limit the alert emails to compile errors only?
You can use the sourceControlErrorHandling tag (action to take when a source control error occurs)
Setting ReportOnRetryAmount to a high value will lower your exception build email.
Reference: ‘Project Configuration Block’ documentation.
http://www.cruisecontrolnet.org/projects/ccnet/wiki/Project_Configuration_Block