Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Community Leader 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
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

55 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you