I am trying to add yaml specs in my repo to BamBoo but getting this error:
Bamboo YAML import failed: Document structure is incorrect: Found following unused properties: Build / variables, Publish / variables.
I have in my repo this folder structure:
bamboo-specs/
bamboo.yaml
Build.yaml
Publish.yaml
I have added screenshots of these 3 yaml files.
What is wrong here?
Hi Rene,
Welcome to the Atlassian Community.
You can try removing below lines from Build.yaml and Publish.yaml.
--- version: 2 |
Also variables tag should be defined at the plan level and not at the job level. Please move that out of Build.yaml and add it to bamboo.yaml.
We also have a knowledge base article to address the YAML specs format issues when !include is used. Please refer to that for further reference:
Regards,
Venkata Sateesh Pentela
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
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.