44# Nodes with values to reuse in the pipeline.
55common_params :
66 # Common plugin settings to use with the `plugins` key.
7- - &ci_toolkit
8- automattic/a8c-ci-toolkit#3.0.1
9- - &test_collector
10- test-collector#v1.10.0
117 - &test_collector_common_params
128 files : " WooCommerce/build/buildkite-test-analytics/*.xml"
139 format : " junit"
1915 - label : " Gradle Wrapper Validation"
2016 command : |
2117 validate_gradle_wrapper
22- plugins : [*ci_toolkit ]
18+ plugins : [$CI_TOOLKIT ]
2319
2420 # Wait for Gradle Wrapper to be validated before running any other jobs
2521 - wait
4339 echo "--- 🧹 Linting"
4440 cp gradle.properties-example gradle.properties
4541 ./gradlew detektAll
46- plugins : [*ci_toolkit ]
42+ plugins : [$CI_TOOLKIT ]
4743 artifact_paths :
4844 - " **/build/reports/detekt/detekt.html"
4945
5248 echo "--- 🧹 Linting"
5349 cp gradle.properties-example gradle.properties
5450 ./gradlew lintJalapenoDebug
55- plugins : [*ci_toolkit ]
51+ plugins : [$CI_TOOLKIT ]
5652 artifact_paths :
5753 - " **/build/reports/lint-results*.*"
5854
6157 cp gradle.properties-example gradle.properties
6258 .buildkite/commands/dependency-tree-diff.sh
6359 if : build.pull_request.id != null
64- plugins : [*ci_toolkit ]
60+ plugins : [$CI_TOOLKIT ]
6561
6662 # #######################################
6763 - group : " 🛠 Prototype Builds"
@@ -71,13 +67,13 @@ steps:
7167 command : |
7268 ".buildkite/commands/prototype-build.sh" "WooCommerce"
7369 if : build.pull_request.id != null
74- plugins : [*ci_toolkit ]
70+ plugins : [$CI_TOOLKIT ]
7571
7672 - label : " 🛠 Prototype Build: Wear App"
7773 command : |
7874 ".buildkite/commands/prototype-build.sh" "WooCommerce-Wear"
7975 if : build.pull_request.id != null
80- plugins : [*ci_toolkit ]
76+ plugins : [$CI_TOOLKIT ]
8177
8278 # #######################################
8379 - group : " 🔬 Tests"
8682 - label : " Unit tests"
8783 command : .buildkite/commands/run-unit-tests.sh
8884 plugins :
89- - *ci_toolkit
90- - *test_collector :
85+ - $CI_TOOLKIT
86+ - $TEST_COLLECTOR :
9187 << : *test_collector_common_params
9288 api-token-env-name : " BUILDKITE_ANALYTICS_TOKEN_UNIT_TESTS"
9389 artifact_paths :
@@ -98,13 +94,13 @@ steps:
9894 echo "--- ⚒️ Building"
9995 cp gradle.properties-example gradle.properties
10096 ./gradlew assembleJalapenoDebugAndroidTest
101- plugins : [*ci_toolkit ]
97+ plugins : [$CI_TOOLKIT ]
10298
10399 - label : " Instrumented tests"
104100 command : .buildkite/commands/run-instrumented-tests.sh
105101 plugins :
106- - *ci_toolkit
107- - *test_collector :
102+ - $CI_TOOLKIT
103+ - $TEST_COLLECTOR :
108104 << : *test_collector_common_params
109105 api-token-env-name : " BUILDKITE_ANALYTICS_TOKEN_INSTRUMENTED_TESTS"
110106 artifact_paths :
0 commit comments