forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.yml
106 lines (106 loc) · 3.85 KB
/
Jenkinsfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
when:
branches: true ## for all the branches
changeset: ## when PR contains any of those entries in the changeset
- "^heartbeat/.*"
- "@ci" ## special token regarding the changeset for the ci
- "@oss" ## special token regarding the changeset for the oss
comments: ## when PR comment contains any of those entries
- "/test heartbeat"
labels: ## when PR labels matches any of those entries
- "heartbeat"
parameters: ## when parameter was selected in the UI.
- "heartbeat"
tags: true ## for all the tags
platform: "immutable && ubuntu-18" ## default label for all the stages
stages:
lint:
make: |
make -C heartbeat check;
make -C heartbeat update;
make -C x-pack/heartbeat check;
make -C x-pack/heartbeat update;
make check-no-changes;
stage: lint
arm:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "arm"
when: ## Override the top-level when.
comments:
- "/test heartbeat for arm"
labels:
- "arm"
parameters:
- "armTest"
branches: true ## for all the branches
tags: true ## for all the tags
stage: extended
build:
mage: "mage build test"
stage: mandatory
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
when: ## Override the top-level when.
comments:
- "/test heartbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
stage: extended
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
stage: mandatory
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
stage: extended
windows-2012:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2012-r2"
stage: extended
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
stage: extended
windows-2008:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2008-r2"
stage: extended
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
stage: extended
windows-7:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7"
stage: extended
windows-7-32:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-7-32-bit"
stage: extended
packaging-linux:
packaging-linux: "mage package"
e2e:
enabled: false
stage: packaging
packaging-arm:
packaging-arm: "mage package"
e2e:
enabled: false
platforms: ## override default label in this specific stage.
- "arm"
stage: packaging