I had a really long command in my pipeline file, and being a programmer I can't tolerate anything longer than 120 columns (it was 80, but with modern screen real estate I think 120 is good number).
This is how my file looked like,
As you can see my really long command is going pass editor screen. So, how do we wrap this?
bitbuket-pipeline.yml file is YAML file, and after visiting and reading RFC for YAML, I had a eureka moment. The magical symbol is '>-' for non white space multiple lines.
So my file now look like this,
Isn't it more beautiful?
DPK JCommunity Leader
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events