Bug 1466634 - Webhook by branch is not triggered [NEEDINFO]
Webhook by branch is not triggered
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build (Show other bugs)
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Ben Parees
Wenjing Zheng
Depends On:
  Show dependency treegraph
Reported: 2017-06-30 02:20 EDT by Jaspreet Kaur
Modified: 2017-07-05 11:16 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-05 11:16:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
bparees: needinfo? (jkaur)

Attachments (Terms of Use)

  None (edit)
Description Jaspreet Kaur 2017-06-30 02:20:45 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):

How reproducible:

Steps to Reproduce:

Actual results: 

Expected results: It should be triggered on particular branch

Additional info:
Comment 1 Ben Parees 2017-06-30 11:36:31 EDT
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.
Comment 2 Ben Parees 2017-07-05 11:16:40 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.