Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Add GitLab CI commit env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfyda authored Sep 20, 2018
1 parent 2b39b7f commit 7b995cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/getGitData.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
process.env.CIRCLE_SHA1 ||
process.env.CI_COMMIT_ID ||
process.env.WERCKER_GIT_COMMIT ||
process.env.BUILDKITE_COMMIT;
process.env.BUILDKITE_COMMIT ||
process.env.CI_COMMIT_SHA;

if (gitCommit) {
logger.debug('Received Commit Id: ' + gitCommit);
Expand Down

0 comments on commit 7b995cd

Please sign in to comment.