ci: jenkins-jobs builder requires git:name set

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>
This commit is contained in:
Niels de Vos 2020-05-27 14:22:56 +02:00
parent 9ce8d20da9
commit 6022807f52
3 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos

View File

@ -13,6 +13,7 @@
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos

View File

@ -16,6 +16,7 @@
}
scm:
git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos