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

Share pipeline between different repositories

Xinchao Zhang September 18, 2018

I am wondering if there is a way to share bitbucket-pipeline.yml between different repositories? Or maybe define a pipeline at project/group level so it can be shared with all the repositories beneath?

We have a multi-repo setup where all repositories follow the same SDLC. Hence the bitbucket-pipeline.yml of each repository are all identical. Whenever we want to change something we have to change all places, it starts to become a pain.





1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 1, 2018

Hi Xinchao,

Bitbucket Pipelines currently provides no support for sharing bitbucket-pipelines.yml configuration across multiple repositories.

We have a feature we're speccing that will allow for sharing scripts across repositories. You can follow it here:

We have another feature requests that allows for sharing the bitbucket-pipelines.yml file across repositories:

We currently have no plans to support sharing the entirely yaml configuration across repositories. But, hopefully the shared scripts feature will help with your use-case.



Vigneshbabu June 26, 2023

Hi Phillip,

any update on Share pipeline between different repositories ?
I really want to use it now.

thanks in advance

Like # people like this
Jacob Brozenick
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!
July 21, 2023

I second this.  This would be such an obvious and useful feature, right in line with CI/CD and inheritance principles, its kind of baffling that this wasn't a feature to begin with much less something that you simply have not plans to implement?

I'm finding less and less reasons to use or recommend bitbucket to anyone.

Like Vigneshbabu likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events