This commit is contained in:
Gregory Hendrickson
2023-06-09 16:02:21 -07:00
parent 44646d8b37
commit f5ef39b732

3
Jenkinsfile vendored
View File

@@ -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: '''