Dear helpers,
I am using CruiseControl.NET Server 1.5.6804.1.
I have integrated it with my fitnesse tests, and all seems to be
running well.
The only problem I have is when one of the tests are failing, the
build is failing but in the email there is no notification about that.
I get an empty email saying the build has failed.
when going into the dashboard, i can see in the main page all the
results (including the failing ones) and the same in the fitnesse tab.
i can also see all the generated files in place.

ccnet.config attached.
any help will be highly appreciated.

thanks

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
        <!-- This is your CruiseControl.NET Server Configuration file. Add
your projects below! -->

         <project name="apedesk-build">

        <workingDirectory>c:\ApeDeskBuild\WorkingDir</workingDirectory>
    <artifactDirectory>c:\ApeDeskBuild</artifactDirectory>
        <sourcecontrol type="svn">
      <trunkUrl>http://ssi/APEDesk/APEDesk/trunk</trunkUrl>
      <workingDirectory>e:\wc</workingDirectory>
      <username>oh</username>
      <password>1234#</password>
    </sourcecontrol>
    <triggers>
    </triggers>
    <tasks>

      <msbuild>
        <executable>C:\WINDOWS\Microsoft.NET\Framework
\v3.5\MSBuild.exe</executable>
        <projectFile>e:\wc\APBuild.proj</projectFile>
        <buildArgs>/v:m </buildArgs>
        <targets>BuildRelease</targets>
        <logger>c:\Program Files\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
      </msbuild>

                <exec>
                        
<executable>e:\wc\src\Fitnesse\TestLibs\SuperSpy\TestRunner.exe </
executable>
                        <buildTimeoutSeconds>600</buildTimeoutSeconds>
                        <baseDirectory>e:\wc\src\Fitnesse\Server</baseDirectory>
                        <buildArgs> -c 
e:\wc\src\Fitnesse\TestLibs\superspy.config -results
C:\ApeDeskBuild\results\fitnesse-results.xml -format xml localhost
8080 MiddleOfficeFrontPage.SuiteGeneralTests</buildArgs>
                        <successExitCodes>0</successExitCodes>
        </exec>


                <exec>
                        
<executable>e:\wc\src\Fitnesse\TestLibs\TaxService\TestRunner.exe </
executable>
                        <buildTimeoutSeconds>1000</buildTimeoutSeconds>
                        <baseDirectory>e:\wc\src\Fitnesse\Server</baseDirectory>
                        <buildArgs> -c 
e:\wc\src\Fitnesse\TestLibs\taxService.config -
results C:\ApeDeskBuild\results\fitnesseTaxService-results.xml -format
xml localhost 8080 MiddleOfficeFrontPage.SuiteTaxFeeService</
buildArgs>
                        <successExitCodes>0</successExitCodes>
          </exec>


    </tasks>


    <publishers>

        <merge>
          <files>
                <file>
                  C:\ApeDeskBuild\results\fitnesseTaxService-results.xml
                </file>
                <file>
                  C:\ApeDeskBuild\results\fitnesse-results.xml
                </file>
          </files>
        </merge>

        <xmllogger logDir="c:\Program Files\CruiseControl.NET\server\test
\Artifacts\buildlogs" />



      <email  includeDetails="True">
                <from>[email protected]</from>
                <mailhost>myhost</mailhost>
        <users>
            <user name="Ori"  group="BuildFail" address="[email protected]" />
        </users>
                <groups>
                        <group name="BuildFail">
                                <notifications>
                                        
<notificationType>Failed</notificationType>
                                </notifications>
                        </group>
                </groups>

                <subjectSettings>
                  <subject buildResult="StillBroken" value="Build is still 
broken
for ${CCNetProject}, the fix failed." />
                  <subject buildResult="Broken" value="${CCNetProject} broke at 
$
{CCNetBuildDate} " />
                  <subject buildResult="Exception" value="Serious problem for $
{CCNetProject}, it is now in Exception! Check status of network /
sourcecontrol" />
                </subjectSettings>
      </email>


    </publishers>
    <labeller type="defaultlabeller">
      <incrementOnFailure>False</incrementOnFailure>
    </labeller>
  </project>
</cruisecontrol>

Reply via email to