ci: add properties for jobs/jjb-deploy.yaml

The 'scm' section also needs to be a list. Jenkins Jobs Builder does not
detect this while validating, but it cause an error while updating the
jobs in Jenkins.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-05-27 15:24:20 +02:00
parent 6022807f52
commit 8f4a556dcc

View File

@ -3,6 +3,13 @@
name: jjb-deploy name: jjb-deploy
project-type: pipeline project-type: pipeline
sandbox: true sandbox: true
concurrent: false
properties:
- github:
url: https://github.com/ceph/ceph-csi
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
dsl: | dsl: |
def GIT_REPO = 'http://github.com/ceph/ceph-csi' def GIT_REPO = 'http://github.com/ceph/ceph-csi'
def GIT_BRANCH = 'ci/centos' def GIT_BRANCH = 'ci/centos'
@ -15,11 +22,11 @@
} }
} }
scm: scm:
git: - git:
name: origin name: origin
url: https://github.com/ceph/ceph-csi url: https://github.com/ceph/ceph-csi
branches: branches:
- ci/centos - ci/centos
triggers: triggers:
- pollscm: - pollscm:
cron: "H/5 * * * *" cron: "H/5 * * * *"