Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

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

Open
Zuchos opened this issue Sep 18, 2015 · 0 comments
Open

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

Zuchos opened this issue Sep 18, 2015 · 0 comments

Comments

@Zuchos
Copy link

Zuchos commented Sep 18, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant