Skip to content

Commit 85b5de9

Browse files
committed
Merge pull request #39 from buildkite/rename-buildbox-to-buildkite
Rename Buildbox to Buildkite
2 parents f7afa2f + a2195a9 commit 85b5de9

File tree

1 file changed

+9
-9
lines changed
  • src/CodeClimate/Bundle/TestReporterBundle/Entity

1 file changed

+9
-9
lines changed

src/CodeClimate/Bundle/TestReporterBundle/Entity/CiInfo.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public function toArray()
2929
return $this->codeshipProperties();
3030
}
3131

32-
if (isset($_SERVER["BUILDBOX"])) {
33-
return $this->buildboxProperties();
32+
if (isset($_SERVER["BUILDKITE"])) {
33+
return $this->buildkiteProperties();
3434
}
3535

3636
if (isset($_SERVER["WERCKER"])) {
@@ -100,15 +100,15 @@ protected function codeshipProperties()
100100
);
101101
}
102102

103-
protected function buildboxProperties()
103+
protected function buildkiteProperties()
104104
{
105105
return array(
106-
"name" => "buildbox",
107-
"build_identifier" => $_SERVER["BUILDBOX_BUILD_ID"],
108-
"build_url" => $_SERVER["BUILDBOX_BUILD_URL"],
109-
"branch" => $_SERVER["BUILDBOX_BRANCH"],
110-
"commit_sha" => $_SERVER["BUILDBOX_COMMIT"],
111-
"pull_request" => $_SERVER["BUILDBOX_PULL_REQUEST"]
106+
"name" => "buildkite",
107+
"build_identifier" => $_SERVER["BUILDKITE_BUILD_ID"],
108+
"build_url" => $_SERVER["BUILDKITE_BUILD_URL"],
109+
"branch" => $_SERVER["BUILDKITE_BRANCH"],
110+
"commit_sha" => $_SERVER["BUILDKITE_COMMIT"],
111+
"pull_request" => $_SERVER["BUILDKITE_PULL_REQUEST"]
112112
);
113113
}
114114

0 commit comments

Comments
 (0)