magnayn / Hudson-GIT-plugin

Git plugin for Hudson
http://wiki.hudson-ci.org/display/HUDSON/Git+Plugin
51 stars 26 forks source link

Git env variables not set on checkout (e.g. GIT_AUTHOR_NAME) #16

Open Zuchos opened 9 years ago

Zuchos commented 9 years ago

I'm using jenkins and try to get commit author name to put in the build description, but only GIT_COMMIT and GIT_BRANCH are set. I suspect that it's because checkout method: https://github.com/jenkinsci/git-plugin/blob/9abd397b0b7176ca6e18b900723e563ab84fbb03/src/main/java/hudson/plugins/git/GitSCM.java#L1026 doesn't set those.