diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 5dc336c..4cc73dc 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -18,7 +18,7 @@ node { remote.host = "${deployHost}" remote.allowAnyHosts = true - withCredentials([sshUserPrivateKey(credentialsId: ${credentialsId}, keyFileVariable: 'kfIdentity', passphraseVariable: 'pVariable', usernameVariable: 'userName')]) { + withCredentials([sshUserPrivateKey(credentialsId: "${credentialsId}", keyFileVariable: 'kfIdentity', passphraseVariable: 'pVariable', usernameVariable: 'userName')]) { remote.user = userName remote.identityFile = kfIdentity