Regarding this docs
http://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher
there is 'Exception' notification. That works well (except for
modifiers, but thats not documented either).
But it can't be currenly possible to send all exception states to 1.
group _only_ and failed builds to 1. and 2. group oth. Like this:
<group name="buildmaster">
<notifications>
<notificationType>Always</notificationType>
</notifications>
</group>
<group name="developers">
<notifications>
<notificationType>Failed</notificationType>
<notificationType>Success</notificationType>
</notifications>
</group>
I think its quite common request to _not_ send exception to developers
(since they can't handle it anyway).
Failed are now considered as 'Failure'+'Exception', which is not
documented well.
Excerpt from EmailMessage.cs:
AddRecipients(recipients,
EmailGroup.NotificationType.Always);
if (BuildStateChanged())
AddRecipients(recipients,
EmailGroup.NotificationType.Change);
if ((result.Status == IntegrationStatus.Failure) ||
(result.Status == IntegrationStatus.Exception))
AddRecipients(recipients,
EmailGroup.NotificationType.Failed);
if (result.Status == IntegrationStatus.Success)
AddRecipients(recipients,
EmailGroup.NotificationType.Success);
if (result.Fixed)
AddRecipients(recipients,
EmailGroup.NotificationType.Fixed);
if (result.Status == IntegrationStatus.Exception)
AddRecipients(recipients,
EmailGroup.NotificationType.Exception);
Changed by request on
http://jira.public.thoughtworks.org/browse/CCNET-1046
I dont think thats good change, but ok. We can add another
notification for 'Failure' only, perhaps?
so there is no more need to couple failed and exception into 1