views:

70

answers:

1

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?

+1  A: 

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.

Benjamin Baumann
Brilliant, this fixed it. Thanks very much!
Robin Weston