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

Commit a16d48e

Browse files
authored
Merge pull request #76 from codacy/IGFCoimbra-patch-1
Add environment variable for bitbucket pipeline
2 parents bc891dc + 17aa539 commit a16d48e

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
@@ -16,7 +16,8 @@
1616
process.env.CI_COMMIT_ID ||
1717
process.env.WERCKER_GIT_COMMIT ||
1818
process.env.BUILDKITE_COMMIT ||
19-
process.env.CI_COMMIT_SHA;
19+
process.env.CI_COMMIT_SHA ||
20+
process.env.BITBUCKET_COMMIT;
2021

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

0 commit comments

Comments
 (0)