Cruisecontrol:如何查看构建结果
构建完成后,我收到一封电子邮件,其中包含查看结果的链接。 是否可以配置 config.xml 文件以直接在收到的电子邮件中查看格式文本的结果?有什么方法可以做到呢? 为了做到这一点,是否需要合并日志???
when thte build is completed i received an email with the link to see the results.
Is it possible to configure the config.xml file to see the result in format text directly within the email received? Which is the way to do it?
For do it, is it necessary to merge the log???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
打开您的 ccnet.exe.config(不是 ccnet.config)并查找此部分:
为您的构建结果添加 XSL 转换(如果您不确定是哪一个,请查找
dashboard.config
中的
部分)Open your
ccnet.exe.config
(NOTccnet.config
) and look for this section:add the XSL transform for your build results (if your not sure which, look for the
<xslFileNames>
section in yourdashboard.config
)您可以编辑电子邮件发布者,也可以编写自己的电子邮件发布者。您可以轻松地从控制台发送电子邮件,并附上格式化的构建结果。
You might either edit the email publisher, or write your own. You can easily send emails from console, attached the formatted build resoults.
发送的邮件内容由 XSL(T) 文件控制,请参阅文档html电子邮件>。
您可以在以下位置找到原始文件:
$CCDIR/webapps/cruisecontrol/xsl
。在我们的设置中,我们只是将文件复制到其他目录,根据需要调整它们,并使用
的xsldir
属性指向新目录。The content of the mails sent is controlled by XSL(T) files, see documentation for <htmlemail>.
You can find the original ones at:
$CCDIR/webapps/cruisecontrol/xsl
. In our setup we just copied the files to some other directory, tweaked them to our needs and pointed the new directory with thexsldir
attribute of<htmlemail>
.