Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Bitbucket Pipeline template

Oguz Gurler
Contributor
November 10, 2023

Is it possible to create a pipeline template in Bitbucket and enforce its use across all projects, and if so, how can this be achieved?

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2023

Hi Oguz!

If you're on the Premium plan, we recently released Pipelines configuration sharing. You can find more details on the following documentation page:

You could use this if you want to execute the exact same pipeline in multiple repos.

Please keep in mind that this cannot be enforced, meaning that someone with write access to the importing repo could edit the bitbucket-pipelines.yml file and remove the imported pipeline.

In the exporting repo, the definition export: true needs to have a space between export: and true. This is not the case in the first example of our documentation, and it has already been raised with the documentation team.

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

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events