title: Jenkins GitHub pull request builder - get branch name for execute shell
body: <p>I am using Jenkins <a href="https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin" rel="nofollow">GitHub pull request builder</a> plugin for running my unit tests when a pull request is made vis a vis a web hook. For the build step, I need to know the name of the branch that is being merged in (e.g. I need develop branch if merging that into master branch). Is there a way to get access to this in the Jenkins execute shell? Thanks,</p>