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 TFVC sources. |
MainScript | String | The default value/script for Main Script of TFVC sources. |
BranchScript | String | The default value/script for Branch Script of TFVC sources. |
LabelNameScript | String | The default value/script for Label Script of TFVC sources. |
GetFolderScript | String | The default value/script for Checkout Folder of TFVC sources. |