title: Getting a jenkinsfile stage to run on master branch and tag
body: <p>I tried to get a stage to run when user push to master branch or push a tag to origin. This is the <code>when</code> condition that i set in the stage:</p>
  <pre><code>  when {
      expression {
        branch 'master' || tag 'v*'
      }
    }
  </code></pre>
  <p>It throws an error that <code>No such field found: field org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable v*</code>. Is there another way to do a conditional expression in such a way that it works?</p>