Reputation: 344
I have configured multiple nodes in Jenkins and only one has an access to git server (firewall protection). I want to use specific node for Multibranch Pipeline scan, but I cannot find any option to do so. Is there possibility to define what machine should poll git repository?
Upvotes: 1
Views: 1203
Reputation: 4319
The branch scan happens on the Jenkins master, which obviously will need acess to the Git Service. However, the builds running on slaves will also need access to the Git service to clone the repo. Using labels that match the job to the slave node is the way to go.
Upvotes: 1