You are having trouble displaying the results in the CruiseControl.net web dashboard.
I created a configuration file that starts building the project. Then it starts nunit according to my tests, they run and end just fine (I can open the log and see the results there). ccnet indicate that the log files have been merged successfully. However, try as I could, I canβt get it to appear on the web panel. This is just frustrating:
BUILD FAILED Project: GroundControlTests Date of build: 2011-01-07 17:16:36 Running time: 00:00:58 Integration Request: mmayo triggered a build (ForceBuild) from PC0098 Projects built with no warnings at all :-) Modifications since last build (0)
despite the failure.
I suspect it has something to do with xsl transforms, but tried almost everything I can think of.
Of course, if I click "Open Assembly", it will show, but omissions and failures are not displayed in the main report :(
My configuration files are below, any suggestions are appreciated!
--- --- nant.build
<project name="GroundControl" default="cleanNunit" basedir="."> <description>Cleanup tasks</description> <target name="cleanNunit" description="removes nunit log file"> <delete file="${CCNetArtifactDirectory}\nunit-results.xml" failonerror="true" /> </target> </project>
----- ccnet.config -------
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <project name="GroundControlTests"> <workingDirectory>C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot</workingDirectory> <artifactDirectory>C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot</artifactDirectory> <prebuild> <nant> <executable>C:\Nant\bin\nant.exe </executable> <baseDirectory>C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot</baseDirectory> <nologo>false</nologo> <buildFile>nant.build</buildFile> <targetList> <target>cleanNunit</target> </targetList> </nant> </prebuild> <tasks> <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe </executable> <workingDirectory>C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot </workingDirectory> <projectFile>GroundControlReboot.sln</projectFile > <buildArgs>/noconsolelogger /v:quiet /noconlog /p:Configuration=Debug /p:ReferencePath="C:\Program Files\NUnit 2.5.9\bin;C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /p:AdditionalReferencePath="C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" </buildArgs> <targets>ReBuild</targets > <timeout>180</timeout > </msbuild> <exec> <executable>C:\Program Files\NUnit 2.5.9\bin\net-2.0\nunit-console.exe </executable > <buildArgs>/xml:C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot\nunit-results.xml C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot\GroundControlReboot\bin\Debug\GroundControlReboot.dll </buildArgs> <buildTimeoutSeconds>180</buildTimeoutSeconds> </exec> </tasks> <publishers> <merge> <files> <file> C:\Source\Wholesale\Code.EventControl.TestingFramework\GroundControlReboot\*-results.xml </file> </files> </merge> <xmllogger /> <statistics /> <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="20" /> </publishers> </project> </cruisecontrol>
----- dashboard.config -------
<?xml version="1.0" encoding="utf-8"?> <dashboard> <remoteServices> <servers> <server name="local" url="tcp://localhost:21234/CruiseManager.rem" allowForceBuild="true" allowStartStopBuild="true" backwardsCompatible="false" /> </servers> </remoteServices> <plugins> <farmPlugins> <farmReportFarmPlugin /> <cctrayDownloadPlugin /> <administrationPlugin password="" /> </farmPlugins> <serverPlugins> <serverReportServerPlugin /> </serverPlugins> <projectPlugins> <projectReportProjectPlugin /> <viewProjectStatusPlugin /> <latestBuildReportProjectPlugin /> <viewAllBuildsProjectPlugin /> </projectPlugins> <buildPlugins> <buildReportBuildPlugin> <xslFileNames> <xslFile>xsl\header.xsl</xslFile> <xslFile>xsl\msbuild2ccnet.xsl</xslFile> <xslFile>xsl\modifications.xsl</xslFile> <xslFile>xsl\nant.xsl</xslFile> <xslFile>xsl\tests.xsl</xslFile> </xslFileNames> </buildReportBuildPlugin> <buildLogBuildPlugin /> </buildPlugins> <securityPlugins> <simpleSecurity /> </securityPlugins> </plugins> </dashboard>
source share