Forums

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

Will Bitbucket Pipelines run if the file is bitbucket-pipelines.yaml, or must it always be yml?

Steve Annett October 16, 2024

 

According to yaml.org, the official file extension of YAML is .yaml, but often applications will accept both, for example Docker Compose looks for docker-compose.yml and docker-compose.yaml.

Will Bitbucket Pipelines run if the file is bitbucket-pipelines.yaml, or must it always be yml?

There are some articles that suggest it would accept a yaml extension, e.g. https://bitbucket.org/blog/share-ci-config

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2024

Hi Steve,

The file needs to be bitbucket-pipelines.yml, Pipelines will not run if you use bitbucket-pipelines.yaml.

The .yaml extension in the blog post you shared is a typo, I will reach out to my team internally to fix it in order to avoid confusion.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events