From 60e61ed1247c4f8efdd1805b1e1f2dda5ed2472c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 17 Dec 2019 17:07:50 +0100 Subject: Revert "Jenkins: T1870: fetch pull request refs from GitHub" This reverts commit fa5447f6c9850756cb7e1acb499fd60b749dfcaa. --- Jenkinsfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3dee31718..7b6dc49e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -88,14 +88,8 @@ pipeline { steps { script { dir('build') { - checkout([ - $class: 'GitSCM', - branches: [[name: getGitBranchName()]], - doGenerateSubmoduleConfigurations: false, - extensions: [[$class: 'CleanCheckout']], - submoduleCfg: [], - userRemoteConfigs: [[refspec: "+refs/pull/*:refs/remotes/origin/* +refs/heads/*:refs/remotes/origin/*", url: getGitRepoURL()]] - ]) + git branch: getGitBranchName(), + url: getGitRepoURL() } } } -- cgit v1.2.3