![git get checkout no clone git get checkout no clone](https://devopscube.com/wp-content/uploads/2021/03/git-clone-commit-id.png)
Note that this must be a local branch name like 'master' or 'develop'.īranch names that are not supported by the git step
#Git get checkout no clone generator#
The Pipeline Syntax Snippet Generator generates this example: git ''Įxample: Git step with https and a specific branchĬheckout from the Jenkins source repository using https protocol, no credentials, and a specific branch (stable-2.204).
![git get checkout no clone git get checkout no clone](https://steveko.files.wordpress.com/2012/02/git-arrows31.png)
Git step with git protocol and polling disabled.Git step with https and changelog disabled.Git step with ssh and a private key credential.Git step with https and a specific branch.
![git get checkout no clone git get checkout no clone](https://i0.wp.com/digitalthoughtdisruption.com/wp-content/uploads/2020/09/1-7.png)
More advanced checkout operations require the checkout step rather than the git step. Use the Pipeline Syntax Snippet Generator to generate a sample pipeline script for the git step. It performs a clone from the specified repository.