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

Validator for bitbucket-pipelines.yml doesn't report indention errors

Daniel Pepper
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 9, 2023

This seems like a bug in the bitucket-pipelines.yml validator, when a step's property children are not indented, the validator doesn't report an error but the pipeline will fail to run, for example:


- step: &step-1
name: This is valid indention
- step: &step-2
name: This is invalid indention

step-2 above will cause the pipeline to fail, but the validator doesn't complain.

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.
July 11, 2023

Hi Daniel,

Thank you for reaching out.

This is indeed a bug with the validator when yaml anchors are used in a yml file.

We have a bug report in our issue tracker:

Please feel to reach out if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events