Reputation: 75
how to prevent Jenkins from fetching all branches in the console it show git fetch --tags --progress git@repository-informations +refs/heads/:refs/remotes/origin/ how to specify fetching a single branch
Upvotes: 1
Views: 1939
Reputation: 195
In GIT plugin you can specify a branch to build like below: refs/heads/branchName. If you do not specify a branch all branches will be examined.
Upvotes: 0