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.


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 Name Script of TFVC sources.

GetFolderScript

String

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

...