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?
It looks like you're new here. Sign in or register to get started.