jenkinsci/git-plugin — pull request #154 by mAu888 (2013-05-23 13:20:40+00:00)
Title: Adding an environment variable for the current branch without the origin/

Added a second env variable `GIT_LOCAL_BRANCH` for retrieving the current branch without the remote `origin/` prefix.