巡航控制.NET没有显示南特生成错误 [英] Cruise Control .Net not showing Nant build errors

查看:176
本文介绍了巡航控制.NET没有显示南特生成错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行巡航控制系统1.5.7256.1,并用它做的构建用南特和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

构建错误可以看出,查看生成日志页面上,但他们没有把它通过对生成报表页面。构建本身是pretty的简单,它只是建立一个.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>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>

如果你想在你的报告南特输出,必须具备XSL \ compile.xsl行。

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

您已经在用于电子邮件服务器/ 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.

这篇关于巡航控制.NET没有显示南特生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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