From 30ae97ac1f2d6f1629d559cc6c31a1c1344b5849 Mon Sep 17 00:00:00 2001 From: Chad Redman Date: Thu, 13 Jan 2022 01:15:32 -0500 Subject: [PATCH] Adjust git checkout --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 990ab3c..0b439b5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -def repo = 'git@github.com:Internet2/grouper.git' +def repo = 'https://github.com/Internet2/grouper.git' def jdk_id = 'Corretto-JDK8' def maven_id = 'Maven-3.8.4' def gpg_cred_id = 'grouper-gpg-key' @@ -24,8 +24,9 @@ node('docker') { $class: 'GitSCM', branches: [[name: grouper_src_branch]], extensions: [ - [$class: 'LocalBranch'], [$class: 'WipeWorkspace'], - [$class: 'CloneOption', depth: 1, noTags: false, reference: '', shallow: true], + [$class: 'LocalBranch'], + [$class: 'WipeWorkspace'], + [$class: 'CloneOption', noTags: false, shallow: true], ], userRemoteConfigs: [[url: repo]] ]