Skip to content

Commit c298c11

Browse files
author
Rodrigo Panachi
committed
Adding CI Service Data for Wercker
1 parent 07fd90f commit c298c11

File tree

1 file changed

+8
-0
lines changed
  • lib/code_climate/test_reporter

1 file changed

+8
-0
lines changed

lib/code_climate/test_reporter/ci.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ def self.service_data
3737
build_identifier: ENV['TDDIUM_SESSION_ID'],
3838
worker_id: ENV['TDDIUM_TID']
3939
}
40+
elsif ENV['WERCKER']
41+
{
42+
name: "wercker",
43+
build_identifier: ENV['WERCKER_BUILD_ID'],
44+
build_url: ENV['WERCKER_BUILD_URL'],
45+
branch: ENV['WERCKER_GIT_BRANCH'],
46+
commit_sha: ENV['WERCKER_GIT_COMMIT'],
47+
}
4048
elsif ENV['CI_NAME'] =~ /codeship/i
4149
{
4250
name: "codeship",

0 commit comments

Comments
 (0)