.net 巡航控制系统总是发送电子邮件
我正在尝试设置CruiseControl.NET,以便在构建失败或修复时通知开发人员,但每次构建后它都会发送电子邮件 这是当前ccnet.config的“我的发布者”部分.net 巡航控制系统总是发送电子邮件,.net,testing,continuous-integration,cruisecontrol.net,cruisecontrol,.net,Testing,Continuous Integration,Cruisecontrol.net,Cruisecontrol,我正在尝试设置CruiseControl.NET,以便在构建失败或修复时通知开发人员,但每次构建后它都会发送电子邮件 这是当前ccnet.config的“我的发布者”部分 <publishers> <email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" use
<publishers>
<email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" useSSL="TRUE">
<users>
<user name="Developer" group="developers" address="%%%@hotmail.com" />
</users>
<groups>
<group name="developers">
<notifications>
<NotificationType>change</NotificationType>
</notifications>
</group>
</groups>
</email>
</publishers>
改变
我正在使用CruiseControl.NET1.6
谢谢godwin好吧,事实证明这是因为我以用户身份收到了电子邮件,但我是“修改人”,所以CC.NET没有向我发送电子邮件,因为我是开发人员组的成员,而是因为我是修改人 我通过向发布者添加“ModifierNotificationTypes”部分解决了这个问题:
<publishers>
<email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" useSSL="TRUE">
<users>
<user name="Godwin" group="developers" address="%%%@hotmail.com" />
</users>
<groups>
<group name="developers">
<notifications>
<notificationType>Failed</notificationType>
<notificationType>Fixed</notificationType>
</notifications>
</group>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
</email>
</publishers>
失败
固定的
失败
固定的
好的,事实证明这是因为我以用户身份收到了电子邮件,但我是“修改人”,所以CC.NET没有向我发送电子邮件,因为我是开发人员组的成员,而是因为我是修改人
我通过向发布者添加“ModifierNotificationTypes”部分解决了这个问题:
<publishers>
<email mailhost="smtp.gmail.com" from="***@gmail.com" includeDetails="true" mailhostPassword="###" mailhostUsername="***" mailport="587" useSSL="TRUE">
<users>
<user name="Godwin" group="developers" address="%%%@hotmail.com" />
</users>
<groups>
<group name="developers">
<notifications>
<notificationType>Failed</notificationType>
<notificationType>Fixed</notificationType>
</notifications>
</group>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
</email>
</publishers>
失败
固定的
失败
固定的