views:

290

answers:

1

I'm using CruiseControl.NET with NUnit and NAnt. I'm trying to get CC.net to send out emails that contain the styled test results and build information. My config file looks like this:

<publishers>
  <merge>
   <files>
    <file>C:\Tests\*Results*.xml</file>
    <file>C:\Artifacts\*</file>
   </files>
  </merge>
  <xmllogger logDir="C:\Build Logs" />
  <email from="[email protected]" mailhost="mail.test.com">
  <groups>
    <group name="alwaysNotify">
     <notification>
      <notificationType>Always</notificationType>
     </notification>
    </group>
    <group name="notifyOnFail">
     <notification>
      <notificationType>Failed</notificationType>
     </notification>
    </group>
  </groups>
  <users>
   <user name="me" group="alwaysNotify"  address="[email protected]"/>
  </users>
  <xslFiles>
   <file>xsl\header.xsl</file>
   <file>xsl\compile.xsl</file>
   <file>xsl\unittests.xsl</file>
   <file>xsl\modifications.xsl</file>
  </xslFiles>
 </email>
</publishers>

When I get an email telling me that the build was successful, there is only this in the body: CruiseControl.NET Build Results for project test (http://CISERVER1/ccnet)

Why isn't the build information and the test results included in the body?

+1  A: 

Add <includeDetails>true</includeDetails> to the email publisher section.

The Chairman
I've found that using the attribute includeDetails="TRUE" also works. Thanks for the fast response.
Wesley Wiser