我正在尝试将我的 CruiseControl.NET 服务器配置为向源代码贡献者发送电子邮件;但是,我似乎无法正确配置电子邮件发布者。我从 CruiseControl.NET 收到以下错误。
异常:检测到未使用的节点:<subjectSettings><subject buildResult="Success" value="构建成功!有一个cookie!"/></subjectSettings>
这是我的配置。真实的电子邮件地址已被更改以保护无辜者。
<publishers>
<xmllogger />
<email from="abs@companyx.com" mailhost="email.companyx.com" includeDetails="true" >
<users>
<user name="john@companyx.com" group="buildMasters" address="john@companyx.com"/>
<user name="jane@companyx.com" group="buildMasters" address="jane@companyx.com"/>
<user name="joe@companyx.com" group="developers" address="joe@companyx.com"/>
<user name="jill@companyx.com" group="developers" address="jill@companyx.com"/>
<user name="jerry@companyx.com" group="developers" address="jerry@companyx.com"/>
</users>
<groups>
<group name="buildMasters" notification="always"/>
<group name="developers" notification="change"/>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
<NotificationType>Success</NotificationType>
</modifierNotificationTypes>
<subjectSettings>
<subject buildResult="Success" value="Build Successful! Have a cookie!" />
</subjectSettings>
</email>
</publishers>
如何正确配置电子邮件发布者以避免此错误?