diff --git a/Jenkinsfile b/Jenkinsfile index 3133f21..9a586b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { stage('Pull and Deploy') { steps { withCredentials([ - sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'SSH_KEY', passphraseVariable: 'SSH_PASSPHRASE', usernameVariable: 'SSH_USER') + sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'SSH_KEY', usernameVariable: 'SSH_USER') ]) { script { def remote = [:] @@ -34,7 +34,6 @@ pipeline { remote.host = '172.16.11.90' remote.user = "${SSH_USER}" remote.keyFile = "${SSH_KEY}" - remote.passphrase = "${SSH_PASSPHRASE}" remote.allowAnyHosts = true writeFile file: 'run-pull-deploy.sh', text: '''