Cruise Control .Net 未显示 Nant 构建错误 [英] Cruise Control .Net not showing Nant build errors

查看:14
本文介绍了Cruise Control .Net 未显示 Nant 构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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.

有什么想法吗?

推荐答案

你检查过dashboard.config 文件吗?在这个文件中,您可以像这样在 xslfileNames 部分添加/删除 xsl 日志解析器:

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>xslheader.xsl</xslFile>
        <xslFile>xslcompile.xsl</xslFile>
        <xslFile>xslcompile-msbuild.xsl</xslFile>
        <xslFile>xslunittests.xsl</xslFile>
        <xslFile>xslMsTestSummary.xsl</xslFile>
        <xslFile>xslmodifications.xsl</xslFile>        
    </xslFileNames>
  </buildReportBuildPlugin>
  <...>
</buildPlugins>

如果你想在你的报告中输出 Nant 输出,你必须有 xslcompile.xsl 这一行.

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

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

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

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

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

这篇关于Cruise Control .Net 未显示 Nant 构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆