forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile.yml
50 lines (50 loc) · 1.82 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
when:
branches: true ## for all the branches
changeset: ## when PR contains any of those entries in the changeset
- "^journalbeat/.*"
- "@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 journalbeat"
labels: ## when PR labels matches any of those entries
- "journalbeat"
parameters: ## when parameter was selected in the UI.
- "journalbeat"
tags: true ## for all the tags
platform: "immutable && ubuntu-18" ## default label for all the stages
stages:
lint:
make: |
make -C journalbeat check;
make -C journalbeat 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 journalbeat for arm"
labels:
- "arm"
parameters:
- "armTest"
branches: true ## for all the branches
tags: true ## for all the tags
stage: extended
unitTest:
mage: "mage build unitTest"
stage: mandatory
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