Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 same values when Perforce is selected for SCM Type. Another option can be to use if statement to check for PERFInstanceCode 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 Perforce repository in your environment.


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.

  • No labels