ceph-csi/jjb-validate.yaml
Niels de Vos 9e2a7e0c8d add jjb-<cmd> jobs for validating/deploying Jenkins jobs
Thse jobs run the deploy/jjb.sh script on a Jenkins Slave that is
configured with an environment for working with the `oc` command.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-04-01 14:15:04 +02:00

23 lines
532 B
YAML

---
- job:
name: jjb-validate
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 validate'
}
}
triggers:
- github-pull-request:
admin-list:
- nixpanic
org-list:
- ceph