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.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events