title: Jenkins pipeline stages with conditions
body: <p>Can I use &quot;jenkins job builder&quot; and create pipeline job, which I could run only specific stages in? Something like this:</p>
  <pre><code>pipeline:
      if (condition):
         stage1:
             //... 
      if (condition):
         stage2:
             //...
  </code></pre>
  <p>or</p>
  <pre><code>pipeline:
      stage1:
         if (condition):
             //... 
      stage2:
         if (condition):
             //...
  </code></pre>