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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.