ceph-csi/jobs/ci-job-validation.yaml
Niels de Vos 5830a2f1bf ci: use GitHub Hooks to trigger jobs
By using GitHub Hooks, jobs get triggers quickers. It also may prevent
the occasional hickup in the Jenkins GitHub-Pull-Request-Builder while
polling events for the cron-jobs.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-08-17 09:45:07 +00:00

33 lines
887 B
YAML

---
- job:
name: ci-job-validation
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:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: ci-job-validation.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-context: ci/centos/job-validation
trigger-phrase: '/(re)?test ((all)|(ci/centos/job-validation))'
permit-all: true
github-hooks: true
white-list-target-branches:
- ci/centos
org-list:
- ceph
allow-whitelist-orgs-as-admins: true