Skip to content

Commit 3c8cfa1

Browse files
authored
Merge pull request elastic#884 from jonahbull/add-jjbb-jobs
Add JJBB jobs to .ci
2 parents 6cdf258 + 5d07771 commit 3c8cfa1

File tree

3 files changed

+97
-0
lines changed

3 files changed

+97
-0
lines changed

.ci/jobs/defaults.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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-py/
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-py.git
27+
url: git@github.com:elastic/elasticsearch-py.git
28+
wipe-workspace: 'True'
29+
axes:
30+
- axis:
31+
type: slave
32+
name: label
33+
values:
34+
- linux
35+
- axis:
36+
type: yaml
37+
filename: .ci/test-matrix.yml
38+
name: ELASTICSEARCH_VERSION
39+
- axis:
40+
type: yaml
41+
filename: .ci/test-matrix.yml
42+
name: PYTHON_VERSION
43+
yaml-strategy:
44+
exclude-key: exclude
45+
filename: .ci/test-matrix.yml
46+
wrappers:
47+
- ansicolor
48+
- timeout:
49+
type: absolute
50+
timeout: 120
51+
fail: true
52+
- timestamps
53+
- workspace-cleanup
54+
builders:
55+
- shell: |-
56+
#!/usr/local/bin/runbld
57+
.ci/run-tests
58+
publishers:
59+
- email:
60+
recipients: infra-root+build@elastic.co
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
- job:
3+
name: elastic+elasticsearch-py+master
4+
display-name: 'elastic / elasticsearch-py # master'
5+
description: Testing the elasticsearch-py master branch.
6+
parameters:
7+
- string:
8+
name: branch_specifier
9+
default: refs/heads/master
10+
description: the Git branch specifier to build (<branchName>, <tagName>,
11+
<commitId>, etc.)
12+
scm:
13+
- git:
14+
branches:
15+
- ${branch_specifier}
16+
triggers:
17+
- github
18+
- timed: '@daily'
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
- job:
3+
name: elastic+elasticsearch-py+pull-request
4+
display-name: 'elastic / elasticsearch-py # pull-request'
5+
description: Testing of elasticsearch-py pull requests.
6+
scm:
7+
- git:
8+
branches:
9+
- ${ghprbActualCommit}
10+
refspec: +refs/pull/*:refs/remotes/origin/pr/*
11+
triggers:
12+
- github-pull-request:
13+
org-list:
14+
- elastic
15+
allow-whitelist-orgs-as-admins: true
16+
github-hooks: true
17+
status-context: clients-ci
18+
cancel-builds-on-update: true
19+
publishers: []

0 commit comments

Comments
 (0)