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

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

Dorian Brim March 26, 2020

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
AUG Leaders

Atlassian Community Events