diff --git a/Jenkinsfile b/Jenkinsfile index 795501f..69fab8b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { stage('Pull and Deploy') { steps { - withCredentials([(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) { + withCredentialss([usernamePassword(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) { script { def remote = [:] remote.allowAnyHosts = true