Search code examples
cruisecontrol.netcvsccnet-config

Cruise Control.Net, CVS, and Multiple Modules


Just starting to use Cruise Control, but can't seem to find anything on this or at least a better approach. Simple script:

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

Test cvs.exe theRoot theModule ....

Problem is I would like to check more than one module for an update but NOT every module in theRoot. Something like this:

<sourcecontrol type="cvs">
   <executable>cvs.exe</executable>
   <cvsroot>theRoot</cvsroot>
   <module>theModule</module>
   <module>theSecondModule</module>
   <module>theThirdModule</module>
</sourcecontrol> 

Is there a way to do this?


Solution

  • Change your type to "multi" and add sections for each module being tracked

    <sourcecontrol type="multi">
      <sourceControls>
        <cvs>
           <executable>cvs.exe</executable>
           <!-- Insert other module1 details -->
        </cvs>
        <cvs>
           <executable>cvs.exe</executable>
           <!-- Insert other module2 details -->
        </cvs>
      </sourceControls>
    </sourcecontrol>
    

    Here's a bit of documentation