R – Cruise control merging problem

cruisecontrol.netnant

I am using cruise control which generated a particular output
which is in text file format.So with the help of nant i am copying
this file to another .xml of the same name in some other folder
structure and i am using the file merge task which merges this output
with my log files.I am also able to see this output merged in my
webdashboard.Now i want this same output i.e .xml to be attached in
may mail too.So is there anyway i can get this done??At present i dont
get anything attached in my mail i.e no errors or warnings attached.

Thanks and regards
Maddy

Best Answer

From what you say, i think you need to modify your ccnet.exe.config This contains the section (near the top by default called xslFiles which specify what XSL is used to transform the log for the email publisher.

All you should need to do is add another line with the path to whatever your translation is:

<xslFiles>
  <file name="xsl\header.xsl"/>
  <file name="xsl\compile.xsl"/>
  <file name="xsl\modifications.xsl"/>
  <file name="xsl\BuildSummary.xsl" />
  <file name="xsl\your_xsl_file_path.xsl" /> <!--Here-->
</xslFiles>
Related Topic