Hi ALl,

how can i insert another project in this config?
where should i put or insert the project2?

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">

  
  <project name="ApplicationTestingTP" queue="ApplicationTestingTP" 
queuePriority="1">
    <workingDirectory>C:\TestProject</workingDirectory>
    
<artifactDirectory>C:\TestProject\ApplicationTestingTP\bin\Debug</artifactDirectory>
    <webURL>localhost/ccnet</webURL>
    <modificationDelaySeconds>20</modificationDelaySeconds>

    <triggers>
       <intervalTrigger name="continuous" seconds="300" 
buildCondition="IfModificationExists" />
    </triggers>

    <state type="state" directory="C:\ccnetstate" />

    <labeller type="iterationlabeller">
      <prefix>1.0</prefix>
      <duration>1</duration>
      <releaseStartDate>2012/7/30</releaseStartDate>
      <separator>.</separator>
    </labeller>

    <tasks>

      <msbuild>
        
<executable>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>
        <workingDirectory>c:\TestProject</workingDirectory>
        <projectFile>ApplicationTesting.sln</projectFile>
        <buildArgs>/noconsolelogger /p:Configuration=Debug 
/v:Minimal</buildArgs>
        <targets>Build</targets>
        <timeout>900</timeout>

      </msbuild>

      <exec>
        <executable>c:\TestProject\delTestLog.bat</executable>
        <baseDirectory>c:\TestProject\TestResults\</baseDirectory>
      </exec>

      <exec>
        <!-- Call mstest to run the tests contained in the TestProject -->
        <executable>C:\Program Files\Microsoft Visual Studio 
10.0\Common7\IDE\mstest.exe</executable>
        <baseDirectory>C:\TestProject\</baseDirectory>
        <buildArgs>/testmetadata:ApplicationTesting.vsmdi 
/resultsfile:TestResults\testResults.trx</buildArgs>
        <buildTimeoutSeconds>60</buildTimeoutSeconds>
      </exec>

    </tasks>
    <publishers>
      <merge>
        <files>
          <file>C:\TestProject\TestResults\testResults.trx</file>
        </files>
        
      </merge>
      <xmllogger />
    </publishers>

  </project>
  

</cruisecontrol>

Reply via email to