Error creating Email Publisher script

Added by alex serd about 2 years ago

I've modified cc config to email notifications but it is failing when running CCValidator with " Configurationg is missing root <cruisecontrol> element " Here is what script looks like

<publishers>
<email from="xxxxxxxxxx@xxxxxxxxxx" mailhost="xxxxxxxxx" mailhostUsername="xxxxxxx@xxxxxxxx" mailhostPassword="xxxxxxxxx" includeDetails="TRUE" >
<users>
<user name="Ohio Programmers" group="developers" address="" />
</users>
<groups>
<group name="developers">
<notifications>
<notificationType>Change</notificationType>
</notifications>
</group>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
<subjectSettings>
<subject buildResult="Fixed" value="Build fixed for ${CCNetProject}" />
<subject buildResult="Broken" value="Build broken for ${CCNetProject} (${CCNetBuildDate} ${CCNetBuildTime}, last checkin(s) by ${CCNetFailureUsers})" />
</subjectSettings>
</email>
</publishers>