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 | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name |
---|
Input Code | Required | Description |
---|---|---|
Instance Code |
|
Yes | The FlexDeploy instance for Git repository where source code is stored. |
Destination Subfolder |
|
Yes | Directory within working folder to clone INTO. | |
Branch |
|
No | Specifies the Git Branch to clone from. | |
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 |
|
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.
...