Bug 1590743
Summary: | No return for gitlab and bitbucket webhook when use --list-webhooks=all | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wenjing Zheng <wzheng> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Webhook types where matched manually.
Consequence:
It failed to list bitbucket and gitlab webhooks.
Fix:
Refactor the code responsible for listing webhooks to be more dynamic when new webhook types are added.
Result:
All webhook types are listed correctly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:40:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Wenjing Zheng
2018-06-13 10:02:16 UTC
Verified with below version: [wzheng@openshift-qe 4.0]$ oc start-build ruby-ex --list-webhooks=all github https://api.qe-wzheng-212114.qe.devcluster.openshift.com:6443/apis/build.openshift.io/v1/namespaces/wzheng1/buildconfigs/ruby-ex/webhooks/<secret>/github generic https://api.qe-wzheng-212114.qe.devcluster.openshift.com:6443/apis/build.openshift.io/v1/namespaces/wzheng1/buildconfigs/ruby-ex/webhooks/<secret>/generic [wzheng@openshift-qe 4.0]$ oc version --short Client Version: v4.0.22 Server Version: v1.12.4+4836bc9 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758 |