如何让 Cruise Control 通过电子邮件发送来自 Gallio(MbUnit) 的单元测试结果?

发布于 2024-07-16 06:10:12 字数 206 浏览 4 评论 0原文

我有一个构建服务器,它使用 Cruise Control 来运行我们的测试用例。 我已成功配置 ccnet 1.4.2 以在 webdashboard 中显示 Gallio 测试结果,但我似乎无法让 ccservice 在自动生成的电子邮件中通过电子邮件发送 Gallio 测试结果。 我尝试编辑 .xsl 文件但无济于事。 我正在合并 MsBuild Gallio 任务的 .xml 输出。

I have a build server that uses Cruise Control to run our test cases. I have successfully configured ccnet 1.4.2 to display the Gallio test results in the webdashboard but I can't seem to get ccservice to email the Gallio test results out in the auto generated Emails. I have tried editing the .xsl file but to no avail. I am merging the .xml output from the MsBuild Gallio task.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

π浅易 2024-07-23 06:10:12

如果您可以让它在 Web 仪表板上按您想要的方式显示,那么您就很接近了。 现在,您只需将仪表板中的 xsl 表添加到构建服务器上的 xsl 文件夹中,并在服务 (ccservice.exe.ini) 中添加对 xsl 的引用(就像您在 Web 端的仪表板.config 中所做的那样)。 config)或控制台(ccnet.exe.config)配置文件。 为了良好的内务管理并防止以后出现错误,您实际上应该将其包含在两者中。

If you can get it to display as you want on the web dashboard then you are close. Now you just need to add the xsl sheet from your dashboard into the xsl folder on the build server and add a refrence to the xsl (just like you did in dashboard.config on the web side) in either the service (ccservice.exe.config) or the console (ccnet.exe.config) config file. And for good housekeeping and to prevent errors later, you should actually include it in both.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文