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

How can I include other yaml files into the bitbucket-pipelines.yml

Adrian Moica March 2, 2024

How I can include other yaml files into the bitbucket-pipelines.yml file defining my CI/CD pipeline similar to Gitlab CI/CD Pipeline:

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2024

Hello @Adrian Moica and thank you for reaching out to Community!

Bitbucket Pipelines has a feature called shared pipelines that can be used to achieve a similar behavior as the features you have linked from GitLab.

Shared pipelines will allow you to define a "template" for your pipelines and share the template within the same workspace. This means you can import any shared pipelines, and re-use them how many times you want, avoiding having to repeatedly create each pipeline configuration.

I would suggest going through the following articles that will provide you with more details about that feature and how it can be configured : 

At the end of the page, there's also an FAQ section with common scenarios and how the shared pipelines will behave.

If after going through those articles you have any questions, feel free to ask.

Thank you, @Adrian Moica !
Patrik S

Suggest an answer

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

Atlassian Community Events