Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 an 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 and they need different values.

Default Script Variables

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.


  • No labels