Project Git Setup Defaults

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.



Default Script Variables

Field Name

Type

Description

Field Name

Type

Description

GITInstanceCode

String

The default SCM Instance Code for Git sources.

BranchScript

String

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

TagScript

String

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

SparseCheckoutFoldersScript

String

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

CheckOutFolderScript

String

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



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