Hello,

I'm new to CruiseControl.Net but following the documentation available
I was able to setup a test MSBuild project along with SVN checkout.
For this test, I give a non existing project to MSBuild to see how
this behaves.
The SVN part works just fine, and the build fails, as I expected.
Looking at the CruiseControl.Net console, I see the output from
msbuild complaining about the missing project file but when looking in
the artifacts folder, there is no msbuild-output.xml file that gets
created in my artifacts folder.
Then looking at the Dashboard, I do not get any details in the build
report. Only when looking at the build log do I get the MSB1009 error
message.

Maybe I missed something obvious, or I did not parameter things
properly but I'm quite lost right now.

Here is the ccnet.config file :

  <cb:define MainDir="d:\build_auto" />
  <cb:define SourcesDir="$(MainDir)\sources" />
  <cb:define LogsDir="$(MainDir)\logs" />
  <cb:define ArtifactsDir="$(MainDir)\artifacts" />
  <cb:define WorkingDir="$(MainDir)\working" />

  <project name="Test">
    <artifactDirectory>$(ArtifactsDir)\test</artifactDirectory>
    <workingDirectory>$(WorkingDir)\test</workingDirectory>
    <prebuild>
    </prebuild>
    <tasks>
      <msbuild>
        <workingDirectory>$(SourcesDir)\test</workingDirectory>
        <projectFile>test.dproj</projectFile>
        <buildArgs>/v:quiet /noconlog /p:Configuration=Debug</
buildArgs>
        <targets></targets>
        <timeout>300</timeout>
        <logger>c:\Program Files\CruiseControl.NET\server
\Rodemeyer.MsBuildToCCNet.dll</logger>
    </msbuild>
    </tasks>
    <publishers>
      <xmllogger logDir="$(LogsDir)" />
    </publishers>
  </project>

I removed the sourcecontrol node as it works just fine.
I also believe I have configured the logger correctly, following
instructions on this page :

http://confluence.public.thoughtworks.org/display/CCNETCOMM/Improved+MSBuild+Integration

Many thanks in advance for your help

Regards
Olivier

Reply via email to