-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
- Jenkins: 2.121.3
- github-branch-source-plugin: 2.3.6
We use github-branch-source-plugin to create a GitHub Organization Folder to automatically pick up our repositories and add them to Jenkins (Pipelines).
When a new repository gets added it will register for the events:
- pull requests
- pushes
- repositories
This means, when creating a new PR it will actually trigger three webhook calls simultaneously:
- pull_request
- create
- push
Unfortunately this results into two builds in Jenkins being triggered for the same commit and PR (so not a branch build).
How can this behaviour be disabled? We do not want to run two builds for the same commit.