I can do this
- var=`<some command>`
but the command is too long and contains pipes that i would like to write on separate lines like
- var=`<command>
-arg1 value1
-arg2 value2
| awk '{print $2}' ...
`
but that doesn't work.
What exactly is the problem you are experiencing? Does the bitbucket-pipelines.yaml editor give you an error message or do you get an error actually running the command? Could you post the whole step definition thats causing problems?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.