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

Scripts: Element is of wrong type. Expected ListNode, found StringNode.

Hello

I am reciving the following error when using Bambo specs YAML for Bamboo version 6.10.4

Bamboo YAML import failed: Document structure is incorrect: Build Application / tasks / [0] / script / scripts: Element is of wrong type. Expected ListNode, found StringNode.
2

The code it refers to is

tasks: 
-
script: #Remove Artifacts
interpreter: /bin/sh
scripts: |
#!/bin/bash #git checkout testing #git merge development
rm ./*.spl rm ./*.tgz
echo "__version__='$app_name.v$build_version.b${bamboo.buildNumber}'" > app_folder/bin/version.py
exit 0 

Could it be because the Pipeline is not allowed here? Or maybe some other underlying issue I don't see from here, thanks!! 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.0 is here!

  Hello Community, I’m Martyna Wojtas, product manager on Bamboo, and I'm happy to announce that Bamboo 7.0 is here! In this platform release, we have improved the Bamboo experience for eve...

2,001 views 32 13
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