ceph-csi/jjb-deploy.yaml
Niels de Vos 67a7b4e8e2 ci: automatically deploy Jenkins jobs after merge
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-27 12:52:21 +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 * * * *"