Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

i want to setup bitbucket pipeline in existing project. how i achieve that

abhay Marwade
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 26, 2023

I have a project repository on Bitbucket with approximately 600 branches, including features and hotfix branches. I've recently created a new pipeline in Bitbucket to scan the code using SonarCloud. I've also created a bitbucket-pipelines.yml file in the master branch. My goal is to apply this pipeline configuration to all existing branches. Currently, the bitbucket-pipelines.yml file is only in the master branch. When I make changes in the master branch, the pipeline is triggered, but it doesn't trigger when I make changes in any other branch. Can you please provide a solution for this issue?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 30, 2023

Hi Abhay and welcome to the community!

The bitbucket-pipelines.yml file needs to exist on every branch that you want to run a pipeline. If you want to run a pipeline for every existing branch, you will need to commit and push the file to every branch.

If you want the exact same pipeline to be executed for every branch, you can use the same default definition in every yml:

Please feel free to reach out if you have any questions!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events