ceph-csi/jobs/ci-job-validation.yaml
Niels de Vos 6022807f52 ci: jenkins-jobs builder requires git:name set
In case there is no 'origin', jenkins-jobs fails with an error like:

    jenkins_jobs.errors.JenkinsJobsException: Must specify a url for git remote "origin"

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-27 14:25:51 +02:00

36 lines
991 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
# TODO: set github-hooks to true when it is configured in GitHub
github-hooks: false
cron: 'H/5 * * * *'
white-list-target-branches:
- ci/centos
admin-list:
- nixpanic
org-list:
- ceph