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

Does the bitbucket-pipelines.yml need to be in every branch ?


I just want to be sure about something that doesn't sound so great to me :

I have my bitbucket-pipelines.yml in my dev branch, but does it need to be in every other branch ? I've set it so it triggers a pipeline on every pull-request, but for every old branch that doesn't yet have the file, nothing is triggered. Is this normal behaviour ?

What scares me a bit, if that's the case, is how are you supposed to manage your pipelines properly ? Like every time you update it, you have to manually propagate that to other branches ?

Thanks for your help.



1 answer

0 votes


This is correct. The bitbucket-pipelines.yml file must be in the specified branch in order for it to be run.

The expectation is that branches remain (roughly) in sync. Such as with a feature branching workflow.

What is your branch workflow out of curiosity? Is there a reason you can't keep your branches in sync regularly?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

104 views 1 3
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