.Net Cruise Control Does Not Show Nant Build Errors

We run Cruise Control 1.5.7256.1 and use it to build using Nant and Nantcontrib. Failures fail and work correctly, but when they do not work, the corresponding error messages are displayed on the CCNet build report page. See image below.

No Errors!

Assembly errors can be seen on the View Assembly Log page, but they don’t go to the Create Report page. The assembly itself is pretty simple, it's just the msbuild Nantcontrib element that creates the .Net 3.5.sln file.

Any ideas?

+2
source share
1 answer

Have you checked the dashboard.config file? In this file, you can add / remove xsl parsers in the xslfileNames section as follows:

<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 to receive Nant outputs in your report, you must have the line xsl \ compile.xsl.

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

If you change something in webdashboard.config, you will need to restart the whole iis to see the changes.

+9
source

All Articles