From 325b3fd14ce7a021ad347231a768f992b97b6804 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 12 Dec 2019 20:56:23 +0100 Subject: Jenkins: T1870: only use pull request refspec --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index b070bd939..d5be6d5c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -94,7 +94,11 @@ pipeline { doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanCheckout']], submoduleCfg: [], - userRemoteConfigs: [[refspec: "+refs/pull/*/head:refs/remotes/origin/PR-* +refs/heads/*:refs/remotes/origin/*", url: getGitRepoURL()]] + userRemoteConfigs: [[ + refspec: '+refs/pull/*/head' + + ':refs/remotes/origin/*', + url: getGitRepoURL() + ]] ]) } } -- cgit v1.2.3