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
Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you are using the integration and how it's helping your team...
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