This page last changed on Jun 13, 2005 by mroberts.

CVS Configuration Examples

Please refer to Using CruiseControl.NET with CVS for an overview of this block.

For cvs you must define where the cvs executable (if you give a relative path, it must be relative to the ccnet.exe application) is and the working directory for checked out code. You may optionally specify the cvsroot.

example using pserver authentication
<sourcecontrol type="cvs">
   <executable>..\tools\cvs.exe</executable>
   <workingDirectory>c:\projects\ccnet</workingDirectory>
   <cvsroot>:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ccnet</cvsroot>
</sourcecontrol>

example using ssh via putty

<sourcecontrol type="cvs">
   <executable>c:\putty\cvswithplinkrsh.bat</executable>
   <workingDirectory>c:\fromcvs\myrepo</workingDirectory>
   <cvsroot>:ext:mycvsserver:/cvsroot/myrepo</cvsroot>
</sourcecontrol>

Configuration Elements:

Node Description Type Required
executable The location of the cvs.exe executable. string true
workingDirectory The folder that the source has been checked out into. string true
cvsroot The cvs connection string. If this is unspecified, the CVS client will automatically calculate the correct root based on your working directory (you generally don't need to specify this element). string false
restrictLogins Only list modifications checked in by specified logins string false
webUrlBuilder The url builder section for the ViewCVS server. (see Using CruiseControl.NET with CVS) string false
branch The branch to check for modifications on. string false
autoGetSource Specifies whether the current version of the source should be retrieved from CVS. The default value for this setting is false. bool false
labelOnSuccess Specifies whether or not the repository should be labelled after a successful build bool false
tagPrefix By default the CVS tag name used when labelOnSuccess is set to true is ver-BuildLabel. If you specify this property, the prefix ver- will be replaced with the value you specify. string false
cleanCopy Specifies whether or not a clean copy should be retrieved bool true
useHistory Specifies whether or not to use the cvs history command to speed up modification checks bool false
timeout How long (in milliseconds) the CVS operation will be permitted to run before timing out. The default value is 10 minutes. int false

Contributions

  • Patch for fast CVS modification checks using history submitted by Craig Campbell.
Document generated by Confluence on Jun 26, 2005 17:22