mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-09-19 23:19:52 +00:00
6022807f52
In case there is no 'origin', jenkins-jobs fails with an error like: jenkins_jobs.errors.JenkinsJobsException: Must specify a url for git remote "origin" Signed-off-by: Niels de Vos <ndevos@redhat.com>
26 lines
593 B
YAML
26 lines
593 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:
|
|
name: origin
|
|
url: https://github.com/ceph/ceph-csi
|
|
branches:
|
|
- ci/centos
|
|
triggers:
|
|
- pollscm:
|
|
cron: "H/5 * * * *"
|