Project Perforce Setup Defaults

Project Perforce Setup Defaults define the default values which appear when creating a new project with an SCM Type of PERFORCE, or a new Source is added for Project with PERFORCE as SCM Type.


You can either set default values by simple assignment, in which case all projects will inherit the values when PERFORCE is selected for SCM Type. Another option can be to use an if statement to check for PERFSInstanceCode and setup different values based on the Perforce instance selected by user. The second option provides a better approach if you have more than one repository and the structure of folders may be different among them.

Default Script Variables

Field Name

Type

Description

PERFInstanceCode

String

The default SCM Instance Code for Perforce sources.

BranchScript

String

The default value/script for Branch Script of Perforce sources.

LabelNameScript

String

The default value/script for Label Name Script of Perforce sources.

CheckOutFolderScript

String

The default value/script for Checkout Folder of Perforce sources.

The following macros are not currently supported in the footer:
  • style