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:
definitions:
steps:
- 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.
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,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.