Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

WebHook with Openshift Pipeline 3.11

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.

Screenshot_4.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,717 views 10 16
Read article

Community Events

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

Events near you