来自 Cruisecontrol 的电子邮件报告?
有没有办法让 Cruisecontrol 通过配置文件通过电子邮件发送测试结果? C:\Program Files\cruisecontrol\test-output\index.html
这是我当前在 config.xml 中的发布设置:
<publishers>
<currentbuildstatuspublisher file="${log.dir}/status.txt"/>
<htmlemail
buildresultsurl="http://${build.server}/buildresults/${project.name}"
subjectprefix="[CruiseControl] "
xsldir="${cruise.install.dir}/webapps/cruisecontrol/xsl"
css="${cruise.install.dir}/webapps/cruisecontrol/css/cruisecontrol.css"
logdir="${log.dir}"
mailhost="mailhost" defaultsuffix="@myemail.com" reportsuccess="always"
returnaddress="${return.email}"
>
<always address="${team.email}"/>
</htmlemail>
</publishers>
Is there a way to have cruisecontrol to email test result in through the config file? C:\Program Files\cruisecontrol\test-output\index.html
This is my current publish setting in the config.xml:
<publishers>
<currentbuildstatuspublisher file="${log.dir}/status.txt"/>
<htmlemail
buildresultsurl="http://${build.server}/buildresults/${project.name}"
subjectprefix="[CruiseControl] "
xsldir="${cruise.install.dir}/webapps/cruisecontrol/xsl"
css="${cruise.install.dir}/webapps/cruisecontrol/css/cruisecontrol.css"
logdir="${log.dir}"
mailhost="mailhost" defaultsuffix="@myemail.com" reportsuccess="always"
returnaddress="${return.email}"
>
<always address="${team.email}"/>
</htmlemail>
</publishers>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该能够使用 fileMerge 任务包含它,像这样的东西:
编辑:假设文件是基于 XML 的...
you should be able to include it using the fileMerge task, something like this:
Edit: Assuming the file is XML based...