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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,710
Community Members
 
Community Events
184
Community Groups

Confused by this Error: Bamboo YAML import failed: Could not determine YAML document version

Hello

I am moving my build plans over from the Web based UI to the YAML format, and I am receiving this error, not exactly sure what it is saying, or even what it means, anyone have any suggestions? Thanks!

Bamboo YAML import failed: Could not determine YAML document version: Push to Test / tasks / [0] / inject-variables: Property is required. 

Here is the task it is referring to:

tasks: 
-
inject-variables: #Inject Variables
file: "app_validation/appserver/tests/build_variables.sh"
scope: RESULT
namespace: gulp

I am using Bamboo version 6.10.4 The document version should be version 2 from my knowledge.

2 answers

1 accepted

3 votes
Answer accepted
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 26, 2020 • edited

In your example indentation is wrong. It should be:

tasks: 
-
inject-variables: #Inject Variables
file: "app_validation/appserver/tests/build_variables.sh"
scope: RESULT
namespace: gulp

Ah, I see I didn't even notice, I fixed it and it works fine. Thanks for your help It's greatly appreciated!!

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 25, 2020

Hi @Dorian Brim ,

Here are examples of the expected format.

Bamboo YAML Specs 

Hi @edwin 

Thanks for responding, but I've looked at this and I don't see a formatting issue with what I have, could there be another underlying issue? specifically with they way my task is typed? I read the documentation for this and everything appears right.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events