janinko/ghprb — pull request #23 by farmdawgnation (2012-11-28 20:00:47+00:00)
Title: Actual SHA of latest commit on branch isn't available.

Because Jenkins tests by merging pull requests into master, the `GIT_COMMIT` environment variable represents the commit that resulted from the merge Jenkins did, not the commit that triggered the build. It would be helpful for the commit that triggered the build to be available in some environment variable instead of trying to calculate it from the git history.