ceph-csi/jjb-deploy.groovy
Niels de Vos 9273955d92 ci: replace inline dsl: script by Groovy files
Jenkins Jobs Builder does not like the inline `dsl:` scripts anymore, so
replace them by Groovy files in the main directory, similar to other
jobs.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-01-31 09:54:41 +01:00

17 lines
404 B
Groovy

node {
stage('build-images') {
parallel jjb: {
sh "oc start-build --follow jjb"
},
mirror_images: {
sh 'oc start-build --follow mirror-images'
}
}
stage('checkout ci repository') {
git url: "${GIT_REPO}", branch: "${GIT_BRANCH}", changelog: false
}
stage('deployment') {
sh "./deploy/jjb.sh --cmd deploy --GIT_REF ${GIT_BRANCH} --GIT_REPO ${GIT_REPO}"
}
}