From 9cec24d982dee1c045d59c701e530d1855ab3b04 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: May 02 2019 13:11:18 +0000 Subject: WIP: Fix Jenkinsfile git ref for the pipeline Signed-off-by: Lukas Holecek --- diff --git a/openshift/pipelines/templates/waiverdb-build-template.yaml b/openshift/pipelines/templates/waiverdb-build-template.yaml index 471114f..1550aea 100644 --- a/openshift/pipelines/templates/waiverdb-build-template.yaml +++ b/openshift/pipelines/templates/waiverdb-build-template.yaml @@ -179,7 +179,8 @@ objects: source: git: uri: "${WAIVERDB_GIT_REPO}" - ref: "${WAIVERDB_GIT_REF}" + ref: "$${WAIVERDB_GIT_REF}" + refspec: "+refs/pull/*/head:refs/remotes/origin/pr/*" strategy: type: JenkinsPipeline jenkinsPipelineStrategy: