...
The cloneProjectSources
operation will perform a shallow clone using a depth value of 100. Revision numbers are captured by FlexDeploy prior to submit of build workflow (FlexDeploy will capture latest revision for build). If revision is not found in shallow clone copy then plugin will gradually clone larger depth till 500. Branch, Sparse checkout folder and destination folder are used as configured in Project SCM configuration. Keep note that this operation will 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.
Below are the values that are used for the operation.