Hello,
I have created a webhook to launch a build event with Openshift Pipeline, using the following enpoint: https: //<openshift_api_host:port>/apis/build.openshift.io/v1/namespaces/<namespace>/ buildconfigs/<name>/webhooks/<secret>/bitbucket
Everything seems to work when I only have one branch (master), however I need to create another branch (developer) to separate my deliveries. The problem is when I push to the development branch I see that the WebHook is activated but my OpenShift Pipeline build is not activated. When I enter the WebHook to see the detail of my request, only a "No content" message is displayed.
I want to know if there is a solution for this problem? Why does this happen?
Is it possible that the webhook only works correctly when it receives a push on the master branch?
Is it possible to read the body / payload that the webhook sends to my endpoint? Maybe via groovy or pipeline syntax, or some other suggestion?
Sorry if I said something wrong, I am totally new to this matter.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.