-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins version 1.585
Relevant plugins:
git 2.2.7
git-client 1.11.0
We have a build triggered by Git branch */master. The documentation at https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin states that the GIT_COMMIT variable contains the SHA of the commit used to trigger the build. However, in our case the value of GIT_COMMIT is 'master'. We need to have the actual SHA for some of our automation.