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.
Thanks
Xinchao
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: https://bitbucket.org/site/master/issues/17181/allow-users-to-define-tasks-step
We have another feature requests that allows for sharing the bitbucket-pipelines.yml file across repositories: https://bitbucket.org/site/master/issues/14078/sharing-pipeline-yml-files
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.
Thanks,
Phil
Hi Phillip,
any update on Share pipeline between different repositories ?
I really want to use it now.
thanks in advance
vignesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, but now they have an new Product, Forge which they'd like to sell you to get this type of functionality...
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.