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 = [:]