Merge pull request #884 from jonahbull/add-jjbb-jobs

Add JJBB jobs to .ci
This commit is contained in:
Jonah Bull
2018-12-19 16:32:31 -06:00
committed by GitHub
3 changed files with 97 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
---
##### GLOBAL METADATA
- meta:
cluster: clients-ci
##### JOB DEFAULTS
- job:
project-type: matrix
logrotate:
daysToKeep: 30
numToKeep: 100
properties:
- github:
url: https://github.com/elastic/elasticsearch-py/
- inject:
properties-content: HOME=$JENKINS_HOME
concurrent: true
node: flyweight
scm:
- git:
name: origin
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
reference-repo: /var/lib/jenkins/.git-references/elasticsearch-py.git
url: git@github.com:elastic/elasticsearch-py.git
wipe-workspace: 'True'
axes:
- axis:
type: slave
name: label
values:
- linux
- axis:
type: yaml
filename: .ci/test-matrix.yml
name: ELASTICSEARCH_VERSION
- axis:
type: yaml
filename: .ci/test-matrix.yml
name: PYTHON_VERSION
yaml-strategy:
exclude-key: exclude
filename: .ci/test-matrix.yml
wrappers:
- ansicolor
- timeout:
type: absolute
timeout: 120
fail: true
- timestamps
- workspace-cleanup
builders:
- shell: |-
#!/usr/local/bin/runbld
.ci/run-tests
publishers:
- email:
recipients: infra-root+build@elastic.co
@@ -0,0 +1,18 @@
---
- job:
name: elastic+elasticsearch-py+master
display-name: 'elastic / elasticsearch-py # master'
description: Testing the elasticsearch-py master branch.
parameters:
- string:
name: branch_specifier
default: refs/heads/master
description: the Git branch specifier to build (<branchName>, <tagName>,
<commitId>, etc.)
scm:
- git:
branches:
- ${branch_specifier}
triggers:
- github
- timed: '@daily'
@@ -0,0 +1,19 @@
---
- job:
name: elastic+elasticsearch-py+pull-request
display-name: 'elastic / elasticsearch-py # pull-request'
description: Testing of elasticsearch-py pull requests.
scm:
- git:
branches:
- ${ghprbActualCommit}
refspec: +refs/pull/*:refs/remotes/origin/pr/*
triggers:
- github-pull-request:
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
github-hooks: true
status-context: clients-ci
cancel-builds-on-update: true
publishers: []