You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to create a why so my jenkins Pipeline gets triggered when the user hits the MERGE button on bitbucket.
Is there a way to achieve that? Seems like a Webhook might need to be developed but i cannot see proper payloads for that kind of data.
Thanks
Hello @Hernando Gallego ,
Welcome to the Community!
Could you please let us know if your question concerns Bitbucket Cloud or Bitbucket Server?
If it's Bitbucket Cloud, you can create a new webhook by accessing Repository Settings > Webhooks > Add webhook. While adding the new webhook you will be presented with all the available trigger options, where one of them is PullRequest:Merge.
The details of each trigger event and their respective payloads are available in the following documentation :
Thank you, @Hernando Gallego!
Patrik S
Hi @Hernando Gallego -
You may want to consider evaluating a tool like Webhook to Jenkins for Bitbucket to help you achieve your goal. It will enable you to trigger a build in Jenkins when a Pull Request is merged.
You can reach out to our awesome support team to ask any questions you might have.
You can also email me at Jennifer.dempsey@appfire.com and I can put in contact with our PM to further discuss your needs and schedule a demo. We'd be happy to help you any time.
Warmly,
Jennifer Dempsey, Product Marketing Manager, Appfire
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.