Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Image Added


Default Script Variables

Field Name

Type

Description

TFVCInstanceCode

String

The default SCM Instance Code for SCM TFVC sources.

MainScript

String

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

BranchScript

String

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

LabelNameScript

String

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

GetFolderScript

String

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