Reputation: 20916
<publishers>
<xmllogger>
<logDir>log</logDir>
</xmllogger>
<merge>
<files>
<file action="Copy" deleteAfterMerge="false">C:\_CCNET\Aso\Artifacts\msbuild-results.xml</file>
<file action="Copy" deleteAfterMerge="false">C:\_CCNET\Aso\Build\src\TestResult.xml</file>
</files>
</merge>
<email from="[email protected]" mailhost="mail.xx.net" mailhostUsername="xx" mailhostPassword="xx">
<users>
<user name="x" group="developers" address="[email protected]"/>
</users>
<groups>
<group name="developers" />
</groups>
</email>
</publishers>
and xmllogger
create folder log and save file in it with random name like log20111229001245.xml
.
How can I merge this file to msbuild-results.xml
and send it with mail?
Upvotes: 3
Views: 479
Reputation: 32684
You don't, at least not the way you are approaching this. The standard way would be:
xmllogger
configuration with simple <xmllogger/>
and put it after the merge
publisher.msbuild-results.xml
and TestResult.xml
files are very large, use action="Merge"
instead of Copy
for the merge publisher.email
publisher to includeDetails="TRUE"
- once the other files are merged into you build report, that tells CruiseControl.Net to output the full build report in the email.Upvotes: 2