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,368,441
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events