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

Pass array or list in Arguments

janicch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2020

Hi, 

Is it possible to pass an array or list in Bamboo Argument?

For example: -FuncName "ReplaceFunction" -Arguments="@(${bamboo.build.working.directory}, "abc", ${bamboo.someGlobalVar})"

My build always fails with the error when I pass in the list as argument: 

Missing argument in parameter list.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument

 

Really appreciate some advice on this. Thanks in advance. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events