-
Bug
-
Resolution: Unresolved
-
Minor
Hi guys, i have a pipeline configuration like the image attached. But I got multiple branch builds triggered when merge from master to release branch. Jenkins triggered master job and release job at the same time.
- I have 3 branches: master/release/production
- Configuration on jobs with pipeline
- configuration for master https://gyazo.com/e7e34ad74ee9aa0bf765f6d556fa73d6
- configuration for release https://gyazo.com/be4b72a963ca61a3ca8724223200a24d
- configuration uses to listen PR hook with Jenkins PR builder plugin https://gyazo.com/b97e7d5aa366afc57c4dafdf31c78163
- Reproduce
- create PR 1 to merge into master, then merge it
- create PR 2 to merge into master
- create PR 3 to merge from master to release
- Jenkins will trigger 4 jobs: master/release/production/default with GHPR builder instead of trigger 1 job of PR 2
What i expect:
- Jenkins trigger only 1 job of PR2
- After i merge PR2, Jenkins trigger the job of branch master
- After i merge PR 3, Jenkins trigger the job of branch release
Thank you