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

Commit 25751cb

Browse files
committed
Add Buildkite Test Analytics environment variables to test plan
1 parent 7618d6e commit 25751cb

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Example/Tests/UnitTests.xctestplan

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,45 @@
99
}
1010
],
1111
"defaultOptions" : {
12+
"environmentVariableEntries" : [
13+
{
14+
"key" : "BUILDKITE_ANALYTICS_TOKEN",
15+
"value" : "$(BUILDKITE_ANALYTICS_TOKEN)"
16+
},
17+
{
18+
"key" : "BUILDKITE_BRANCH",
19+
"value" : "$(BUILDKITE_BRANCH)"
20+
},
21+
{
22+
"key" : "BUILDKITE_BUILD_ID",
23+
"value" : "$(BUILDKITE_BUILD_ID)"
24+
},
25+
{
26+
"key" : "BUILDKITE_BUILD_NUMBER",
27+
"value" : "$(BUILDKITE_BUILD_NUMBER)"
28+
},
29+
{
30+
"key" : "BUILDKITE_BUILD_URL",
31+
"value" : "$(BUILDKITE_BUILD_URL)"
32+
},
33+
{
34+
"key" : "BUILDKITE_COMMIT",
35+
"value" : "$(BUILDKITE_COMMIT)"
36+
},
37+
{
38+
"key" : "BUILDKITE_JOB_ID",
39+
"value" : "$(BUILDKITE_JOB_ID)"
40+
},
41+
{
42+
"key" : "BUILDKITE_MESSAGE",
43+
"value" : "$(BUILDKITE_MESSAGE)"
44+
}
45+
],
46+
"targetForVariableExpansion" : {
47+
"containerPath" : "container:WPMediaPicker.xcodeproj",
48+
"identifier" : "6003F589195388D20070C39A",
49+
"name" : "WPMediaPicker"
50+
},
1251
"testTimeoutsEnabled" : true
1352
},
1453
"testTargets" : [

0 commit comments

Comments
 (0)