From 204ad02dda8323bc4e7bbc167fb3bea858f8795f Mon Sep 17 00:00:00 2001 From: Gregory Hendrickson Date: Fri, 9 Jun 2023 16:35:43 -0700 Subject: [PATCH] username password --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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