title: How do I perform if/else operations in a jenkins workflow build?
body: <p>I'm sure there's an easy answer for this but I was unable to find it elsewhere.</p>
  
  <p>I have a Jenkins workflow job with parameters. What I want is to skip a build job depending on the value of a parameter. Something like:</p>
  
  <pre><code>if(param["MYPARAM"]){
      build("jorb1")
  }
  build("jorb2")
  </code></pre>
  
  <p>Does anyone know how I'd accomplish this?</p>