msbuild task not producing msbuild-results.xml artifact

49 views
Skip to first unread message

Ryan W

unread,
Sep 1, 2010, 3:59:12 PM9/1/10
to ccnet-user
I just upgraded to CC.NET 1.5.7256.1 last week and ever since, I no
longer get a msbuild-results.xml file in the artifacts directory.
When I upgraded, I uninstalled the old and installed fresh, so maybe
there's something I'm missing. Here's my project definition:

<project name="Trunk" >
<workingDirectory>E:\ccnetWorking\Projects\trunk</
workingDirectory>
<artifactDirectory>E:\ccnetWorking\buildFiles\Project\Artifacts</
artifactDirectory>
<webURL>[omitted]</webURL>
<modificationDelaySeconds>0</modificationDelaySeconds>
<triggers>
<intervalTrigger name="continuous" seconds="180"
initialSeconds="30"/>
</triggers>
<state type="state" directory="E:\CCNetState" />
<labeller type="lastChangeLabeller">
<prefix>[omitted]</prefix>
</labeller>
<sourcecontrol type="svn">
<executable>C:\Program Files\CollabNet\Subversion Server
\svn.exe</executable>
<trunkUrl>[omitted]</trunkUrl>
<workingDirectory>E:\ccnetWorking\Projects\trunk</
workingDirectory>
<username></username>
<password></password>
</sourcecontrol>
<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework
\v4.0.30319\MSBuild.exe</executable>
<workingDirectory>Proejct</workingDirectory>
<projectFile>E:\ccnetWorking\Projects\trunk\build.proj</
projectFile>
<buildArgs>/t:Build /p:Configuration=Debug /v:diag</buildArgs>
<timeout>900</timeout>
<logger>C:\Program Files\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
</msbuild>
</tasks>
<publishers>
<merge>
<files>
</files>
</merge>
<xmllogger />
</publishers>
</project>

I verified the ThoughtWorks.CruiseControl.MSBuild.dll is in that
location. Any ideas?

Ryan W

unread,
Sep 1, 2010, 6:06:54 PM9/1/10
to ccnet-user
Trying this again...

I've recently updated to 1.5.7256.1 and am unable to get the msbuild
logger to output its xml file. Here's my tasks and publishers
sections:

<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework
\v4.0.30319\MSBuild.exe</executable>
<workingDirectory>E:\ccnetWorking\Projects\trunk</
workingDirectory>
<projectFile>build.proj</projectFile>
<buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag</
buildArgs>
<targets>Build</targets>
<timeout>900</timeout>
<logger>C:\Program Files\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
</msbuild>
</tasks>
<publishers>
<merge>
<files>
<!-- <file>E:\ccnetWorking\buildFiles\Artifacts\*-
results.xml</file> -->
<file>E:\ccnetWorking\buildFiles\Artifacts\report.xml</file>
</files>
</merge>
<xmllogger />
<statistics />
</publishers>

I added the statistics publisher to see if it was a permissions issue,
and the report.xml is indeed showing up in the artifacts directory.
But, there's still no msbuild-results.xml file showing up. Any
ideas? I appreciate any guidance.

Ryan W

unread,
Sep 2, 2010, 11:55:41 AM9/2/10
to ccnet-user
Sorry for the double post. After I finally restarted IIS, the msbuild
output is working correctly in the dashboard. But, there's still no -
results file, so maybe that just doesn't get produced anymore?

Ruben Willems

unread,
Sep 4, 2010, 5:31:40 AM9/4/10
to ccnet...@googlegroups.com
Hi

indeed, there was a change done so that it now scrapes msbuild output (other tasks too I think but am not sure)
so there is no need anymore to manually merge the msbuild file.



with kind regards
Ruben Willems

simbel

unread,
Sep 6, 2010, 4:04:52 PM9/6/10
to ccnet-user
Hi,

I just saw this post.
For msbuild XML output take a look here:

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

I've been using it for a while with no problems, YMMV.

HTH

On 4 Sep., 11:31, Ruben Willems <ruben.will...@gmail.com> wrote:
> Hi
>
> indeed, there was a change done so that it now scrapes msbuild output (other
> tasks too I think but am not sure)
> so there is no need anymore to manually merge the msbuild file.
>
> with kind regards
> Ruben Willems
>

Benjamin Baumann

unread,
Sep 7, 2010, 3:40:57 AM9/7/10
to ccnet...@googlegroups.com
As for me, I never managed to get it working with ccnet 1.5 . Which ccnet version are you running?

2010/9/6 simbel <her...@gmail.com>

OBones

unread,
Sep 13, 2010, 8:09:42 AM9/13/10
to ccnet-user
Works just fine here. What errors do you have?

On 7 sep, 09:40, Benjamin Baumann <zentiltou...@gmail.com> wrote:
> As for me, I never managed to get it working with ccnet 1.5 . Which ccnet
> version are you running?
>
> 2010/9/6 simbel <her...@gmail.com>
>
> > Hi,
>
> > I just saw this post.
> > For msbuild XML output take a look here:
>
> >http://confluence.public.thoughtworks.org/display/CCNETCOMM/Improved+...

simbel

unread,
Sep 22, 2010, 4:50:07 PM9/22/10
to ccnet-user
Version 1.5.7256.1

On 7 Sep., 09:40, Benjamin Baumann <zentiltou...@gmail.com> wrote:
> As for me, I never managed to get it working with ccnet 1.5 . Which ccnet
> version are you running?
>
> 2010/9/6 simbel <her...@gmail.com>
>
> > Hi,
>
> > I just saw this post.
> > For msbuild XML output take a look here:
>
> >http://confluence.public.thoughtworks.org/display/CCNETCOMM/Improved+...
Reply all
Reply to author
Forward
0 new messages