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

Bamboo YAML import failed: Document structure is incorrect

Arturo A Salazar June 25, 2019

Hi I'm a little confused with YAML structure I can't run multi stage CI, I got this error

Bamboo YAML import failed: Document structure is incorrect: stages / [0] / jobs: Property is required.

---
project:
  key: MARS
  plan:
     key: SLAYER
     name: Plan Banboo Spec 1
stages:
  - First Stage:
      jobs:
        tasks:
            - scrtipt: echo "first stage"
   - Second Stage:
        jobs:
         tasks:
            - scrtipt: echo "Second Stage" 

1 answer

1 accepted

0 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2019

Recent release of Bamboo 6.9.0 introduced new format of YAML Specs, version 2.

Previous format didn't allow to provide stage name. According to your sample it's mixed format of version 1 and version 2.

Please follow this documentation if you have Bamboo before 6.9.0. Or this documentation if you have Bamboo 6.9.0+

Arturo A Salazar June 28, 2019

Works perfectly, thanks ;) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events