|
CruiseControl.NET : Perforce Source Control Block
This page last changed on Sep 11, 2008 by williams.
Perforce Configuration ExamplesExample using defaults: <sourcecontrol type="p4"> <view>//projects/myproject/...</view> </sourcecontrol> Full example: <sourcecontrol type="p4"> <view>//projects/ccnet/...,//tools/nant/...</view> <executable>c:\perforce\p4.exe</executable> <client>ccnet-buildhost</client> <user>public</user> <password>mypassword</password> <port>perforce01.thoughtworks.net:1666</port> <timeZoneOffset>-5</port> <applyLabel>true</applyLabel> <autoGetSource>true</autoGetSource> <forceSync>true</forceSync> <p4WebURLFormat>http://perforceWebServer:8080/@md=d&cd=//&c=3IB@/{0}?ac=10</p4WebURLFormat> <timeout units="minutes">10</timeout> </sourcecontrol> Configuration Elements:
Client / User / Password / Port usageYou may specify any of the Perforce client, user, password and port (ie 'host:port' in Perforce standards) settings to use. If you don't specify them, then Cruise Control .NET will use the defaults in your registry (use 'p4 set' to view and edit these.) Note that the client specification is only used for syncing and applying labels, it is not used when checking for changes. This is significant since it means that the view in the specified client does not effect the plugin's behaviour when checking for changes. Perforce IssuesPerforce cannot apply purely numeric labels, which is what CCNet uses by default. Therefore, if you have 'applyLabel' set to true, you must also setup a custom Labeller in your project, e.g. by using the Default Labeller. |
| Document generated by Confluence on Mar 14, 2009 02:55 |