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 #76 from codacy/IGFCoimbra-patch-1
Browse files Browse the repository at this point in the history
Add environment variable for bitbucket pipeline
  • Loading branch information
rtfpessoa committed Jan 2, 2019
2 parents bc891dc + 17aa539 commit a16d48e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/getGitData.js
Expand Up @@ -16,7 +16,8 @@
process.env.CI_COMMIT_ID ||
process.env.WERCKER_GIT_COMMIT ||
process.env.BUILDKITE_COMMIT ||
process.env.CI_COMMIT_SHA;
process.env.CI_COMMIT_SHA ||
process.env.BITBUCKET_COMMIT;

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

0 comments on commit a16d48e

Please sign in to comment.