ceph-csi/containerized-tests.yaml
Niels de Vos 8259fe953f ci: use parameters set by github-pull-request-builder
The parameters are set in the environment. It seems the best way to
check if the parameters are available, is with `params.<arg> == null`.

See-also: https://www.jenkins.io/doc/book/pipeline/getting-started/#global-variable-reference#
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-25 17:10:06 +02:00

35 lines
980 B
YAML

---
- job:
name: containerized-tests
project-type: pipeline
sandbox: true
concurrent: true
properties:
- github:
url: https://github.com/ceph/ceph-csi
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
pipeline-scm:
scm:
- git:
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: containerized-tests.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-context: ci/centos/containerized-tests
trigger-phrase: '/(re)?test ((all)|(ci/centos/containerized-tests))'
permit-all: true
# TODO: set github-hooks to true when it is configured in GitHub
github-hooks: false
cron: 'H/5 * * * *'
black-list-target-branches:
- ci/centos
admin-list:
- nixpanic
org-list:
- ceph