Cruise Control .Net 未显示 Nant 构建错误

发布于 2024-09-18 15:07:26 字数 312 浏览 7 评论 0原文

我们正在运行 Cruise Control 1.5.7256.1 并使用它来使用 Nant 和 Nantcontrib 进行构建。构建失败并正确成功,但是当它们失败时,相关错误消息将显示在 CCNet 构建报告页面上。请参见下图

No Errors!

可以在“查看构建日志”页面上看到构建错误,但它们并未生成错误进入构建报告页面。构建本身非常简单,它只是一个构建 .Net 3.5 .sln 文件的 Nantcontrib msbuild 元素。

有什么想法吗?

We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image below

No Errors!

The build errors can be seen on the View Build Log page, but they aren't making it through to the Build Report page. The build itself is pretty simple, it's just a Nantcontrib msbuild element that builds a .Net 3.5 .sln file.

Any ideas?

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

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

发布评论

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

评论(1

失去的东西太少 2024-09-25 15:07:26

您检查过dashboard.config 文件吗?在此文件中,您可以在 xslfileNames 部分中添加/删除 xsl 日志解析器,如下所示:

<buildPlugins>
  <buildReportBuildPlugin>
    <xslFileNames>
        <xslFile>xsl\header.xsl</xslFile>
        <xslFile>xsl\compile.xsl</xslFile>
        <xslFile>xsl\compile-msbuild.xsl</xslFile>
        <xslFile>xsl\unittests.xsl</xslFile>
        <xslFile>xsl\MsTestSummary.xsl</xslFile>
        <xslFile>xsl\modifications.xsl</xslFile>        
    </xslFileNames>
  </buildReportBuildPlugin>
  <...>
</buildPlugins>

如果您希望在报告中输出 Nant 输出,则必须具有 xsl\compile.xsl 行。

server/ccnetservice.exe.config 中有一个类似的部分,用于电子邮件。

如果您更改了 webdashboard.config 中的某些内容,则必须重新启动整个 iis 才能看到所做的修改。

Did you check the dashboard.config file? In this file you can add/delete xsl log parsers in the xslfileNames section like this :

<buildPlugins>
  <buildReportBuildPlugin>
    <xslFileNames>
        <xslFile>xsl\header.xsl</xslFile>
        <xslFile>xsl\compile.xsl</xslFile>
        <xslFile>xsl\compile-msbuild.xsl</xslFile>
        <xslFile>xsl\unittests.xsl</xslFile>
        <xslFile>xsl\MsTestSummary.xsl</xslFile>
        <xslFile>xsl\modifications.xsl</xslFile>        
    </xslFileNames>
  </buildReportBuildPlugin>
  <...>
</buildPlugins>

If you want Nant outputs in your report, you must have the xsl\compile.xsl line.

You have a similar section in the server/ccnetservice.exe.config which is used for emails.

If you change something in webdashboard.config, you'll have to restart the whole iis to see the modifications.

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