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

cloneProjectSources

This operation is similar to clone, except it does not require any inputs, as values are derived from Project SCM Configurations.

Environment/Instance Properties

Property Name

Property Code

Required

Description

FDGIT_CMD_PATH


The GIT executable folder.

No

If the Git executable is on the PATH, then there is no need to setup this property.

Project Properties

Property Name

Property Code

Required

Description





Inputs

Input Name

Input Code

Required

Description





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

The cloneProjectSources operation will perform a shallow clone using a depth value of 1. This will only grab the latest version of the code. Branch, Sparse checkout folder and destination folder are used as configured in Project SCM configuration. This operation will also perform a checkout of the captured revision when the build was triggered. This ensures that the build code used corresponds to the FlexDeploy project version. The checked-out code is suitable for tagging and building, but is not suitable to commit and push back.

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