Clones the Git repository to the build agent with the given arguments.
You can use this component with the following options:
- git branch name (latest commit)
- git branch name and git commit hash
- git tag
AC_GIT_URL
: Specifies the Git URL of the project repository.
AC_GIT_COMMIT
: Specifies the commit of the Git repository to be built.AC_GIT_BRANCH
: Specifies the branch of the Git repository to be built.AC_GIT_LFS
: Used to specify whether large files will be downloaded. Defaults tofalse
.AC_GIT_TAG
: Tag of the repository.AC_GIT_SUBMODULE
: Used to specify whether the submodule should be cloned.AC_GIT_CACHE_CREDENTIALS
: If this set to true, the credentials will be cached to memory. This can be useful if the same credentials are used for multiple repositories.AC_GIT_EXTRA_PARAMS
: If this set, sends extra parameter for git requests.
AC_REPOSITORY_DIR
: Repository Directory. Specifies outputs the cloned repository directory.
Below workflow steps are related with this step and should be used as recommended.
There is no required step that needs to be run beforehand for this step to work as expected.
Below are the steps that should be run beforehand if they are used in the workflow with this step.
There are no subsequent steps advised to be run for this step to work as expected.