开发者

Cruise Control .Net not showing Nant build errors

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

Cruise Control .Net not showing Nant build 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜