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

Commit f35f127

Browse files
committed
Merge pull request #60 from blake-education/master
Add Buildbox to service_data method.
2 parents 5c88c32 + 9963b2a commit f35f127

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
@@ -62,6 +62,14 @@ def self.service_data(env = ENV)
6262
branch: env['CI_BRANCH'],
6363
commit_sha: env['CI_COMMIT_ID'],
6464
}
65+
elsif env['BUILDBOX']
66+
{
67+
name: "buildbox",
68+
build_identifier: env['BUILDBOX_JOB_ID'],
69+
build_url: env['BUILDBOX_BUILD_URL'],
70+
branch: env['BUILDBOX_BRANCH'],
71+
commit_sha: env['BUILDBOX_COMMIT']
72+
}
6573
else
6674
{}
6775
end

0 commit comments

Comments
 (0)