title: Build only the Git branch that has been pushed to
body: <p>I have a Jenkins job to build the <code>master</code> branch of my GitHub repo. It triggers nicely when I push a commit to <code>master</code>, and I'm very happy about it.</p>
  
  <p>I would also like to have a single Jenkins job that would build any other branch in this repository. I.e. whenever I push a commit to a branch (that is not <code>master</code>), I'd like to have this Jenkins job to build that branch, and only that branch.</p>
  
  <p>Using the GitHub pull-request plugin requires me to create a pull-request, and merges my commit with <code>master</code>. I'd like to do this without having to create a pull-request, and to only build my commit without merging it with <code>master</code>.</p>
  
  <p>Setting up the Git plugin to build all branches means that whenever I push to master, all branches are built. I'd like to only build the one branch that has been modified.</p>
  
  <p>Is this possible to do in Jenkins?</p>