From here I learned that Bitbucket Pipeline supports ifs statements.
How do I do multi-line blocks inside if statements?
This doesn't compute:
    script:
      - if [ $BITBUCKET_BRANCH == "master" ];
        then;
          echo Line1
          echo line2
        fi;
 
     
    