PlasticSCM Configuration
 | Note: The PlasticSCM source control block is available in CCNet 1.3 and later. |
This supports Códice Software's Plastic SCM source control system.
Plastic SCM Configuration Example
For Plastic SCM you must specify the working directory, which must be a valid Plastic SCM workspace, and the branch. You may also specify the Plastic SCM command-line client path, the repository and if the update must be forced.
Basic Configuration
For most uses the following is all you'll need in your ccnet.config :
<sourcecontrol type="plasticscm">
<workingDirectory>c:\workspace</workingDirectory>
<branch>br:/main</branch>
</sourcecontrol>
Full Configuration
<sourcecontrol type="plasticscm">
<executable>c:\Program Files\PlasticSCM\client\cm.exe</executable>
<workingDirectory>c:\workspace</workingDirectory>
<branch>br:/main</branch>
<repository>mainrep</repository>
<forced>true</forced>
<labelOnSuccess>true</labelOnSuccess>
<labelPrefix>BL</labelPrefix>
<timeout units="minutes">10</timeout>
</sourcecontrol>
| Element |
Description |
Type |
Required |
Default |
| branch |
The Plastic SCM branch to monitor. |
string |
yes |
n/a |
| executable |
he local path for the Plastic SCM command-line client (eg. C:\Program Files\PlasticSCM\client\cc.exe) |
string |
no |
cm |
| forced |
Do the update with the "--forced" option |
bool |
no |
false |
| labelPrefix |
Specifies the prefix label name. |
string |
no |
ccver- |
| labelOnSuccess |
Specifies whether or not CCNet should create an Plastic SCM baseline when the build is successful. |
bool |
no |
false |
| repository |
The Plastic SCM repository to monitor. |
string |
no |
the current in the workspace |
| timeout |
Sets the timeout period for the source control operation. See Timeout Configuration for details. |
Timeout |
no |
10 minutes |
| workingDirectory |
Valid Plastic SCM workspace path. |
string |
yes |
n/a |