Pass array or list in Arguments

janicch 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