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

Commit 20b4ff8

Browse files
authored
Fix Drone CI commit_sha inference (#111)
1 parent 6c92867 commit 20b4ff8

File tree

1 file changed

+1
-1
lines changed
  • lib/code_climate/test_reporter

1 file changed

+1
-1
lines changed

lib/code_climate/test_reporter/ci.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def self.service_data(env = ENV)
6060
build_identifier: env["CI_BUILD_NUMBER"],
6161
build_url: env["CI_BUILD_URL"],
6262
branch: env["CI_BRANCH"],
63-
commit_sha: env["CI_BUILD_NUMBER"],
63+
commit_sha: env["CI_COMMIT"],
6464
pull_request: env["CI_PULL_REQUEST"]
6565
}
6666
elsif env["CI_NAME"] =~ /codeship/i

0 commit comments

Comments
 (0)