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

Commit b9cac41

Browse files
authored
Merge pull request #67 from codacy/mrfyda-patch-1
Add GitLab CI commit env variable
2 parents 2b39b7f + 7b995cd commit b9cac41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/getGitData.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
process.env.CIRCLE_SHA1 ||
1616
process.env.CI_COMMIT_ID ||
1717
process.env.WERCKER_GIT_COMMIT ||
18-
process.env.BUILDKITE_COMMIT;
18+
process.env.BUILDKITE_COMMIT ||
19+
process.env.CI_COMMIT_SHA;
1920

2021
if (gitCommit) {
2122
logger.debug('Received Commit Id: ' + gitCommit);

0 commit comments

Comments
 (0)