我正在尝试配置我的CruiseControl.NET服务器,以便向那些有助于源的人发送电子邮件;但是,我似乎无法正确配置电子邮件发布者。我从CruiseControl.NET收到以下错误。
异常:检测到未使用的节点:< subjectSettings>< subject buildResult =“Success”value =“Build successful!a a a 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>
如何正确配置电子邮件发布者以避免此错误?
答案 0 :(得分:11)
我遇到了运行1.4.4版本的问题并收到了与此类似的发布商错误:
未使用节点检测到通知=“始终”
我使用的是Email Publisher文档,无法找出问题所在。结果证明文档中有错误;群组notification
下的群组已更改为notifications
。组块现在应该是:
<groups>
<group name="buildMasters" notifications="always"/>
<group name="developers" notifications="change"/>
</groups>
答案 1 :(得分:2)
您是从头开始构建CruiseControl吗?因为看起来这个功能只在几周前检查过,如果你使用的是其中一个功能不存在的版本。