ceph-csi/jobs/jjb-deploy.yaml
Niels de Vos 650d749d28 ci: move the Jenkins Job Builder .yaml files under jobs/
There is a new .commitlintrc.yml file in the root of the repository.
This causes jenkins-job-builder to complains that the file is not
confirm the Jenkins Job Builder format/specification.

    jenkins_jobs.errors.JenkinsJobsException: The topmost collection in file '/opt/build/.commitlintrc.yml' must be a list, not a <class 'collections.OrderedDict'>

Move all Jenkins Job Builder .yaml files to jobs/ so that all the
Jenkins job configurations are kept together without other files.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-27 13:53:43 +02:00

25 lines
572 B
YAML

---
- job:
name: jjb-deploy
project-type: pipeline
sandbox: true
dsl: |
def GIT_REPO = 'http://github.com/ceph/ceph-csi'
def GIT_BRANCH = 'ci/centos'
node {
stage('checkout ci repository') {
git url: "${GIT_REPO}", branch: "${GIT_BRANCH}", changelog: false
}
stage('validation') {
sh './deploy/jjb.sh deploy'
}
}
scm:
git:
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
triggers:
- pollscm:
cron: "H/5 * * * *"