From 20d2fa576f5322d116b698fe0f16a366375491f6 Mon Sep 17 00:00:00 2001 From: Gregory Hendrickson Date: Fri, 9 Jun 2023 16:33:29 -0700 Subject: [PATCH] s --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75b13cb..c303ffb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,8 +26,7 @@ pipeline { stage('Pull and Deploy') { steps { - withCredentials([ - sshUserPrivateKey(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName') + withCredentials([(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName') ]) { script { def remote = [:]