Cruisecontrol:如何查看构建结果

发布于 2024-08-09 14:59:42 字数 109 浏览 2 评论 0原文

构建完成后,我收到一封电子邮件,其中包含查看结果的链接。 是否可以配置 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 技术交流群。

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

发布评论

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

评论(3

陈甜 2024-08-16 14:59:42

打开您的 ccnet.exe.config(不是 ccnet.config)并查找此部分:

<xslFiles>
  <file name="xsl\header.xsl" />
  <file name="xsl\modifications.xsl" />
  <file name="xsl\msbuild2ccnet.xsl" /> <!-- This is our build results transform-->
</xslFiles>

为您的构建结果添加 XSL 转换(如果您不确定是哪一个,请查找dashboard.config 中的 部分)

Open your ccnet.exe.config (NOT ccnet.config) and look for this section:

<xslFiles>
  <file name="xsl\header.xsl" />
  <file name="xsl\modifications.xsl" />
  <file name="xsl\msbuild2ccnet.xsl" /> <!-- This is our build results transform-->
</xslFiles>

add the XSL transform for your build results (if your not sure which, look for the <xslFileNames> section in your dashboard.config)

心奴独伤 2024-08-16 14:59:42

您可以编辑电子邮件发布者,也可以编写自己的电子邮件发布者。您可以轻松地从控制台发送电子邮件,并附上格式化的构建结果。

You might either edit the email publisher, or write your own. You can easily send emails from console, attached the formatted build resoults.

递刀给你 2024-08-16 14:59:42

发送的邮件内容由 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 the xsldir attribute of <htmlemail>.

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