title: How can I write a multi-line if block on Bitbucket Pipeline?
body: <p><a href="https://stackoverflow.com/questions/46599478/can-if-statements-be-used-in-bitbucket-pipelines">From here</a> I learned that Bitbucket Pipeline supports ifs statements.</p>
  
  <p>How do I do multi-line blocks inside if statements?</p>
  
  <p>This doesn't compute:</p>
  
  <pre><code>    script:
        - if [ $BITBUCKET_BRANCH == "master" ];
          then;
            echo Line1
            echo line2
          fi;
  </code></pre>