ceph-csi/jobs/jjb-deploy.yaml

32 lines
773 B
YAML
Raw Normal View History

---
- job:
name: jjb-deploy
project-type: pipeline
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 * * * *"