views:

197

answers:

4

Hello, when thte build is completed i received an email with the link to see the results. Is it possible to configure the config.xml file to see the result in format text directly within the email received? Which is the way to do it? For do it, is it necessary to merge the log??? Please help me!

Thnaks a lot for your support Costanza

A: 

You might either edit the email publisher, or write your own. You can easily send emails from console, attached the formatted build resoults.

erenon
A: 

Open your ccnet.exe.config (NOT ccnet.config) and look for this section:

<xslFiles>
  <file name="xsl\header.xsl" />
  <file name="xsl\modifications.xsl" />
  <file name="xsl\msbuild2ccnet.xsl" /> <!-- This is our build results transform-->
</xslFiles>

add the XSL transform for your build results (if your not sure which, look for the <xslFileNames> section in your dashboard.config)

Pondidum
Not really sure if OP refers to CruiseControl.NET or `plain` CruiseControl.
Grzegorz Oledzki
A: 

The content of the mails sent is controlled by XSL(T) files, see documentation for <htmlemail>.

You can find the original ones at: $CCDIR/webapps/cruisecontrol/xsl. In our setup we just copied the files to some other directory, tweaked them to our needs and pointed the new directory with the xsldir attribute of <htmlemail>.

Grzegorz Oledzki
A: 

Hello Andy, thanks for you answer, but I not found the ccnet.exe,config on my machine. Which is the file that you refer? Did you refer to config.xml file? Thanks a lot for you answer

I'll try Costanza p.s. I'm not more pratically to work with cruise control

costanza

related questions