Skip to content

Commit 8a1bb26

Browse files
committed
Updated jobs/defaults.yml to use the new job matrix
1 parent 3acee8b commit 8a1bb26

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

.ci/jobs/defaults.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
3+
##### GLOBAL METADATA
4+
5+
- meta:
6+
cluster: clients-ci
7+
8+
##### JOB DEFAULTS
9+
10+
- job:
11+
project-type: matrix
12+
logrotate:
13+
daysToKeep: 30
14+
numToKeep: 100
15+
properties:
16+
- github:
17+
url: https://github.com/elastic/elasticsearch-js/
18+
- inject:
19+
properties-content: HOME=$JENKINS_HOME
20+
concurrent: true
21+
node: flyweight
22+
scm:
23+
- git:
24+
name: origin
25+
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
26+
reference-repo: /var/lib/jenkins/.git-references/elasticsearch-js.git
27+
branches:
28+
- ${branch_specifier}
29+
url: https://github.com/elastic/elasticsearch-js.git
30+
wipe-workspace: 'True'
31+
triggers:
32+
- github
33+
vault:
34+
# vault read auth/approle/role/clients-ci/role-id
35+
role_id: ddbd0d44-0e51-105b-177a-c8fdfd445126
36+
axes:
37+
- axis:
38+
type: slave
39+
name: label
40+
values:
41+
- linux
42+
- axis:
43+
type: yaml
44+
filename: .ci/test-matrix.yml
45+
name: ELASTICSEARCH_VERSION
46+
- axis:
47+
type: yaml
48+
filename: .ci/test-matrix.yml
49+
name: NODE_JS_VERSION
50+
- axis:
51+
type: yaml
52+
filename: .ci/test-matrix.yml
53+
name: TEST_SUITE
54+
yaml-strategy:
55+
exclude-key: exclude
56+
filename: .ci/test-matrix.yml
57+
wrappers:
58+
- ansicolor
59+
- timeout:
60+
type: absolute
61+
timeout: 120
62+
fail: true
63+
- timestamps
64+
- workspace-cleanup
65+
builders:
66+
- shell: |-
67+
#!/usr/local/bin/runbld
68+
.ci/run-tests
69+
publishers:
70+
- email:
71+
recipients: infra-root+build@elastic.co
72+
# - junit:
73+
# results: "*-junit.xml"
74+
# allow-empty-results: true

0 commit comments

Comments
 (0)