CCNet web dashboard not showing anything when MSBuild fails

Posted by cfdev9 on Stack Overflow See other posts from Stack Overflow or by cfdev9
Published on 2010-06-07T09:43:58Z Indexed on 2010/06/07 9:52 UTC
Read the original article Hit count: 522

Filed under:

I have a simple project in ccnet using svn & msbuild only. There is a 30 second trigger for svn and the msbuild file compiles a web application then copies it to a numbered build folder. When an error occurs in the msbuild task I get a failed build. When I view a failed build in the web dashboard I can see the 'Modifications since last build' section in the dashboard, but nothing else. I have to click on the build log and read through all of the xml in the error log to see what the error was.

Why won't the dashboard show the errors from the build log? I haven't changed anything in the dashboard.config since installing ccnet.

Dashboard Version : 1.5.7256.1

<project name="SimpleWebapp1">
  <artifactDirectory>C:\Program Files\CruiseControl.NET\server\SimpleWebapp1\Artifacts\</artifactDirectory>
  <triggers>
    <intervalTrigger name="continuous" seconds="30" buildCondition="IfModificationExists" initialSeconds="5" />
  </triggers>
  <sourcecontrol type="svn">
    <executable>C:\Program Files\CollabNet\Subversion Client\svn.exe</executable>
    <trunkUrl>https://server:8443/svn/SimpleWebapp1/trunk</trunkUrl>
    <workingDirectory>D:\CCNetSandbox\SimpleWebapp1</workingDirectory>

    <username>username</username>
    <password>password</password>
  </sourcecontrol>
  <tasks>
    <msbuild>
      <executable>
        C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe
      </executable>
      <workingDirectory>
        D:\CCNetSandbox\SimpleWebapp1
      </workingDirectory>

      <projectFile>SimpleWebapp1.build</projectFile>
      <buildArgs>/p:Configuration=Debug /p:Platform="Any CPU"</buildArgs>
      <targets>CompileLatest</targets>
      <timeout>900</timeout>
      <logger>ThoughtWorks.CruiseControl.MsBuild.XMLLogger, C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>


    </msbuild>

  </tasks>
  <publishers>
      <xmllogger />
      <buildpublisher>
        <publishDir>C:\Program Files\CruiseControl.NET\server\SimpleWebapp1\Artifacts\</publishDir>
        <useLabelSubDirectory>true</useLabelSubDirectory>
      </buildpublisher>

  </publishers>    
</project>

© Stack Overflow or respective owner

Related posts about cruisecontrol.net