Mohamed Ait Taleb
Mohamed Ait Taleb

Reputation: 75

Jenkins fetch all branches, the build field doesn't work

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

Answers (1)

Krishan Kant
Krishan Kant

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.

Branches option

Upvotes: 0

Related Questions