forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.yml
47 lines (47 loc) · 2.1 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
when:
branches: true ## for all the branches
changeset: ## when PR contains any of those entries in the changeset
- "^generator/.*"
- "#generator/common/beatgen" ## special token regarding the project dependency
- "#metricbeat/beater" ## special token regarding the project dependency
- "@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 generator"
labels: ## when PR labels matches any of those entries
- "generator"
parameters: ## when parameter was selected in the UI.
- "generator"
tags: true ## for all the tags
platform: "linux && ubuntu-18" ## default label for all the stages
stages:
metricbeat-test:
make: "make -C generator/_templates/metricbeat test test-package"
beat-test:
make: "make -C generator/_templates/beat test test-package"
macos-metricbeat:
make: "make -C generator/_templates/metricbeat test"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Override the top-level when.
comments:
- "/test generator for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
macos-beat:
make: "make -C generator/_templates/beat test"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Override the top-level when.
comments:
- "/test generator for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags