Skip to content

Commit c55ba91

Browse files
authored
Fix stuck clients-ci job removal (#1880)
1 parent e8d69cf commit c55ba91

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

.ci/jobs/defaults.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
parameters:
16+
- string:
17+
name: branch_specifier
18+
default: refs/heads/main
19+
description: the Git branch specifier to build (<branchName>, <tagName>,
20+
<commitId>, etc.)
21+
properties:
22+
- github:
23+
url: https://github.com/elastic/elasticsearch-js/
24+
- inject:
25+
properties-content: HOME=$JENKINS_HOME
26+
concurrent: true
27+
node: flyweight
28+
scm:
29+
- git:
30+
name: origin
31+
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
32+
reference-repo: /var/lib/jenkins/.git-references/elasticsearch-js.git
33+
branches:
34+
- ${branch_specifier}
35+
url: https://github.com/elastic/elasticsearch-js.git
36+
basedir: ''
37+
wipe-workspace: 'True'
38+
triggers:
39+
- github
40+
vault:
41+
# vault read auth/approle/role/clients-ci/role-id
42+
role_id: ddbd0d44-0e51-105b-177a-c8fdfd445126
43+
axes:
44+
- axis:
45+
type: slave
46+
name: label
47+
values:
48+
- linux
49+
- axis:
50+
type: yaml
51+
filename: .ci/test-matrix.yml
52+
name: STACK_VERSION
53+
- axis:
54+
type: yaml
55+
filename: .ci/test-matrix.yml
56+
name: NODE_JS_VERSION
57+
- axis:
58+
type: yaml
59+
filename: .ci/test-matrix.yml
60+
name: TEST_SUITE
61+
yaml-strategy:
62+
exclude-key: exclude
63+
filename: .ci/test-matrix.yml
64+
wrappers:
65+
- ansicolor
66+
- timeout:
67+
type: absolute
68+
timeout: 120
69+
fail: true
70+
- timestamps
71+
- workspace-cleanup
72+
builders:
73+
- shell: |-
74+
#!/usr/local/bin/runbld
75+
.ci/run-tests
76+
publishers:
77+
- email:
78+
recipients: [email protected]
79+
- junit:
80+
results: "**/*-junit.xml"
81+
allow-empty-results: true

0 commit comments

Comments
 (0)