mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
8f4a556dcc
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>
33 lines
791 B
YAML
33 lines
791 B
YAML
---
|
|
- job:
|
|
name: jjb-deploy
|
|
project-type: pipeline
|
|
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: |
|
|
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:
|
|
name: origin
|
|
url: https://github.com/ceph/ceph-csi
|
|
branches:
|
|
- ci/centos
|
|
triggers:
|
|
- pollscm:
|
|
cron: "H/5 * * * *"
|