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

Project Git Setup Defaults

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

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

 

Field Name

Type

Description

GITInstanceCode

String

The default SCM Instance Code for SCM sources.

BranchScript

String

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

TagScript

String

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

SparseCheckoutFoldersScript

String

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

CheckOutFolderScript

String

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

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