Versions Compared

Key

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

...

Input Name

Input Code

Required

Description

Instance Code

FDGIT_INP_INSTANCE_CODE

Yes

The FlexDeploy SCM instance for Git repository where source code is stored.

Destination Subfolder

FDGIT_INP_DEST_SUBFOLDER

No

Directory within FD_TEMP_DIR to clone into. If no subfolder is provided the Git repository will be cloned directly into the temp directory.

Branch

FDGIT_INP_BRANCH

No

Specifies the Git Branch to clone from. Defaults to master.

Depth

FDGIT_INP_DEPTH

No

Allows a depth to be specified. Set to 1 to only grab the latest commit (to simulate an export in SVN).

Sparse Checkout Folders

FDGIT_INP_SPARSE_CHECKOUT_FOLDERS

No

Specify comma separated folders to checkout. This is useful when you do not want to clone entire repository.

Treeless Clone

FDGIT_INP_TREELESS_CLONE

No

@Since 7.0.0.2

Treeless clone (--filter=tree:0) is helpful for automated builds where cloned repository is discarded after build.

Don’t use this option if you intend to view history or push changes.

May lead to smaller and faster cloning depending on your git provider.

...