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

« Previous Version 2 Next »

Clones a remote repository to the local working directory. This operation supports sparse folder checkout and shallow clone using depth input.

Environment/Instance Properties

Property Name

Required

Description




Project Properties

Property Name

Required

Description




Inputs

Input Name

Display Name

Required

Description

FDGIT_INP_INSTANCE_CODE

Instance Code

Yes

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

FDGIT_INP_DEST_SUBFOLDER

Destination Subfolder

Yes

Directory within working folder to clone INTO.

FDGIT_INP_BRANCH

Branch

No

Specifies the Git Branch to clone from.

FDGIT_INP_DEPTH

Depth

No

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

FDGIT_INP_SPARSE_CHECKOUT_FOLDERS

Sparse Checkout Folders

No

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

Outputs

Output Name

Required

Description




Artifacts

This operation doesn't consume or produce any artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

If the remote repository has a considerable history, this too will be cloned unless the FDGIT_INP_DEPTH is set to 1. This will only grab the latest version of the code, which is useful for building where there will not be a commit back into the remote repository.

  • No labels