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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Pipeline triggering based on branch

Sofiane Hadjadj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 31, 2023

Hello,

Is there a way to ensure that a webhook URL is only associated with one branch?

I'm currently using Jenkins, and I've found a way to deploy my code into a dev or prod environment and separate the pipelines into branches.

So the develop branch is deployed in dev and the master branch in prod.

My problem is that I have the impression that we can't really configure Bitbucket so that it triggers a pipeline based on a branch, do you have any ideas?

Thanks in advance.

2 answers

1 vote
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 31, 2023

G'day, @Sofiane Hadjadj 

Welcome to the community.

I understand you wish to trigger a webhook based on a specific branch to your Jenkins server. Unfortunately, the webhook in Bitbucket cloud will trigger for all branches now. We do have an existing feature request that I highly suggest you keep an eye on:

I hope this helps. 

Regards,
Syahrul

0 votes
Weronika Spaleniak Appfire
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Nov 06, 2023

Hey @Sofiane Hadjadj !


You could try using Webhook to Jenkins for Bitbucket plugin that does offer this functionality.


If you'd like to chat about your use case and see how the app works, you can book some time in my calendar or you can just give it a try.


Full disclosure- I work for Appfire, the plugin's developer.


Best,
Weronika

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events