Validating YAML Specs
The validator is available from the Specs menu in Bamboo’s top navigation bar. Here’s what it looks like:
- Source code repository type selector
- Repository selection menu
- YAML Specs input field
- Validate button
- Result flag
How to use the Bamboo YAML Specs validator
To validate your Bamboo YAML Specs configuration:
From the source code repository type selector, select either Linked repositories or Project repositories.
If you see the No available repositories message, it means that Bamboo couldn’t find any repositories with Specs enabled or you don’t have permission to access them.
- From the repository selection menu, select the repository to validate your YAML Specs against.
- Paste your YAML Specs configuration into the YAML Specs input field.
- Select Validate.
Results
If your configuration is valid, you’ll see the following notification:
All good!
The YAML configuration is valid.
Otherwise, you’ll see the following error message followed by the details of what went wrong:
The YAML configuration is invalid
There’s something wrong with the YAML configuration. Fix the errors and try again.
(…)
In that case, you’ll need to fix the errors identified during validation and retry.