-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins 2.176
Bitbucket cloud
I'm using Jenkins 2.176 with Bitbucket cloud and bitbucket-branch-source-plugin 2.4.0.
Follow https://support.cloudbees.com/hc/en-us/articles/115000053051-How-to-Trigger-Multibranch-Jobs-from-Bitbucket-Server- and everything works for me.
But in my organization, I have often the situation that I have one Repository in bitbucket and e.g 2 Jenkins Multibranchpieline job. I don't want to trigger both project i.e when PR appear. Is there any way to specify which job should be triggered in such a case?
You have to remove the webhook to the Jenkins instance you would not trigger the builds.
Otherwise you have implement yourself or look around if there is a BuildStrategy implementation (basic-branch-build-strategies-plugin) that is able to not schedule a build using some kind of logic that fit you need.