Currently my
CruiseControl.NET email publisher has its list of users hard-coded in the build config file
<publishers>
[ ... ]
<email from="
[email protected]" mailhost="stmp.domain.com" mailport="25" includeDetails="TRUE">
<replyto>
[email protected]</replyto>
<users>
<user name="a.user" group="buildmaster" address="
[email protected]"/>
<user name="b.user" group="developers" address="
[email protected]"/>
</users>
<groups>
<group name="developers">
<notifications>
<notificationType>Failed</notificationType>
<notificationType>Fixed</notificationType>
</notifications>
</group>
<group name="buildmaster">
<notifications>
<notificationType>Always</notificationType>
</notifications>
</group>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
</email>
</publishers>
I'd like to be able to read the list of users from an external file. We have dozens of build files and I'd like to streamline the process of adding new users and removing ones that are no longer interested.
Can I do this?