title: Jenkins Multibranch pipeline: How to select a build node?
body: <p>Jenkins multibranch pipeline always performs checkout on master node. In my case I want to make my build on another node. My script in Jenkinsfile looks like this: </p>
  
  <pre><code>node('osx') {
      ...
  }
  </code></pre>
  
  <p>I'm forced to checkout <code>env.BRANCH</code> on my node myself again to perform a build. It will be much better to perform pipeline build on selected node from the beginning, but I can not find how to do it.</p>