File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2
2
---
3
3
4
- common_params :
5
- # Common plugin settings to use with the `plugins` key.
6
- - &common_plugins
7
- - automattic/a8c-ci-toolkit#2.15.0
8
-
9
4
agents :
10
5
queue : " android"
11
6
12
7
steps :
13
8
- label : " Gradle Wrapper Validation"
14
9
command : |
15
10
validate_gradle_wrapper
16
- plugins : *common_plugins
11
+ plugins : [$CI_TOOLKIT]
17
12
18
13
# Wait for Gradle Wrapper to be validated before running any other jobs
19
14
- wait
20
15
21
16
- label : " Lint & Checkstyle"
22
17
key : " lint_and_checkstyle"
23
- plugins : *common_plugins
18
+ plugins : [$CI_TOOLKIT]
24
19
command : |
25
20
cp gradle.properties-example gradle.properties
26
21
./gradlew lintRelease checkstyle
30
25
31
26
- label : " Test"
32
27
key : " test"
33
- plugins : *common_plugins
28
+ plugins : [$CI_TOOLKIT]
34
29
command : |
35
30
cp gradle.properties-example gradle.properties
36
31
./gradlew testRelease
39
34
depends_on :
40
35
- " lint_and_checkstyle"
41
36
- " test"
42
- plugins : *common_plugins
37
+ plugins : [$CI_TOOLKIT]
43
38
command : |
44
39
cp gradle.properties-example gradle.properties
45
40
./gradlew \
Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2
2
---
3
3
4
- common_params :
5
- # Common plugin settings to use with the `plugins` key.
6
- - &common_plugins
7
- - automattic/a8c-ci-toolkit#2.15.0
8
-
9
4
agents :
10
5
queue : " android"
11
6
15
10
echo "--- 📊 Analyzing"
16
11
cp gradle.properties-example gradle.properties
17
12
./gradlew buildHealth
18
- plugins : *common_plugins
13
+ plugins : [$CI_TOOLKIT]
19
14
artifact_paths :
20
15
- " build/reports/dependency-analysis/build-health-report.*"
21
16
notify :
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
4
+ # to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.
5
+
6
+ export CI_TOOLKIT=" automattic/a8c-ci-toolkit#3.4.2"
You can’t perform that action at this time.
0 commit comments