ceph-csi/jobs/jjb-deploy.yaml
Niels de Vos 0f811e9735 ci: jjb-deploy should have a "deployment" stage
The stage is called "validate" at the moment, this is a copy/paste
mistake from the jjb-validate job.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-08-03 15:36:47 +00:00

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('deployment') {
sh './deploy/jjb.sh deploy'
}
}
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
triggers:
- pollscm:
cron: "H/5 * * * *"