Project TFVC Setup Defaults

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

You can either set default values by simple assignment, in which case all projects will inherit the same values when TFVC is selected for SCM Type. Another option can be to use if statement to check for TFVCInstanceCode and setup different values based on the TFVC instance selected by user. The second option provides a better approach if you have more than one TFVC repository in your environment.


Default Script Variables

Field Name

Type

Description

TFVCInstanceCode

String

The default SCM Instance Code for SCM sources.

MainScript

String

The default value/script for Main Script of SCM sources.

BranchScript

String

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

LabelNameScript

String

The default value/script for Label Script of SCM sources.

GetFolderScript

String

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

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