Red Hat Bugzilla – Bug 1466634
Webhook by branch is not triggered
Last modified: 2017-07-05 11:16:40 EDT
Description of problem: Currently our builds are setup for a particular branch in the git repo of the project. But we have other branches people are working on. When pushes are made to the other branches it triggers the webhook and starts a build. It causes an excess of builds that are not needed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Expected results: It should be triggered on particular branch
what git server are you using and which webhook? The generic webhook does not distinguish by branch, but the github webhook(which also works with gogs) does, and the new gitlab and bitbucket webhooks being introduced in 3.6 will also distinguish by branch.
Closing due to lack of information. Please reopen if you can provide additional details about which webhook you are using, but we have no plans to add branch-discrimination to the generic webhook.