加上缺少的双引号
This commit is contained in:
Vendored
+1
-1
@@ -18,7 +18,7 @@ node {
|
|||||||
remote.host = "${deployHost}"
|
remote.host = "${deployHost}"
|
||||||
remote.allowAnyHosts = true
|
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.user = userName
|
||||||
remote.identityFile = kfIdentity
|
remote.identityFile = kfIdentity
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user