Created
December 8, 2018 00:59
-
-
Save bcomnes/39f033d20957e72b9cc4466de16cef94 to your computer and use it in GitHub Desktop.
Git env vars you might need in jenkins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Jenkins ENV Reference: | |
env.GIT_COMMIT: the commit sha of the current build | |
env.BRANCH_NAME: the branch name OR tag name of the current build, when it exists | |
env.GIT_BRANCH: same as BRANCH_NAME | |
env.TAG_NAME: the tag name of the current build, when it exists | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment