我只是要求我告诉我,只有当我检测到编辑中的错误时,才应该向有关的开发人员发送邮件.如果没有错误,则不需要向任何人发送邮件.那么有什么方法可以在ccnet.config文件中配置这些东西.
亲切的问候Maddy
Maddy,你应该在"Build"失败的任何时候发送电子邮件,如果它在编译时失败,或者你有任何测试,或者其他什么都无关紧要.不要限制它编译.仅仅因为代码编译不正确.
这是docs 的链接,这是一个例子
<email from="CruiseControlBuild@yourcompany.com" mailhost="yourmailserver.com" includeDetails="True">
<users />
<groups>
<group name="buildmaster" notification="failed"/>
</groups>
<converters>
<regexConverter find="DOMAIN\\" replace="" />
<regexConverter find="$" replace="@yourcompany.com" />
</converters>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
</modifierNotificationTypes>
</email>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
720 次 |
| 最近记录: |