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

Commit

Permalink
Merge pull request #67 from codacy/mrfyda-patch-1
Browse files Browse the repository at this point in the history
Add GitLab CI commit env variable
  • Loading branch information
rtfpessoa committed Sep 20, 2018
2 parents 2b39b7f + 7b995cd commit b9cac41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/getGitData.js
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 b9cac41

Please sign in to comment.