ci: use correct refspec for fetching PRs in jjb-validate job

Also use https, instead of http for the repository.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-05-29 10:44:37 +02:00 committed by mergify[bot]
parent 06ef71971d
commit a089d8eaa1

View File

@ -11,11 +11,11 @@
days-to-keep: 7
artifact-days-to-keep: 7
dsl: |
def GIT_REPO = 'http://github.com/ceph/ceph-csi'
def GIT_REPO = 'https://github.com/ceph/ceph-csi'
def GIT_BRANCH = 'ci/centos'
if (params.ghprbPullId != null) {
GIT_BRANCH = "pr/${ghprbPullId}/head"
GIT_BRANCH = "pull/${ghprbPullId}/head"
}
node {