加上缺少的双引号

This commit is contained in:
zhouxiunai
2018-11-07 10:44:22 +08:00
parent a60a8363db
commit f58d041590
+1 -1
View File
@@ -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