This commit is contained in:
Gregory Hendrickson
2023-06-09 16:14:32 -07:00
parent ec9e818d9c
commit 9bb4a1df16

2
Jenkinsfile vendored
View File

@@ -29,6 +29,7 @@ pipeline {
withCredentials([ withCredentials([
sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'identity', usernameVariable: 'userName') sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'identity', usernameVariable: 'userName')
]) { ]) {
remote.name = 'ubuntu-kc' remote.name = 'ubuntu-kc'
remote.host = '172.16.11.90' remote.host = '172.16.11.90'
remote.user = userName remote.user = userName
@@ -48,7 +49,6 @@ pipeline {
// Execute the script file on the remote host // Execute the script file on the remote host
sshCommand remote: remote, command: 'chmod +x ~/run-pull-deploy.sh && ~/run-pull-deploy.sh' sshCommand remote: remote, command: 'chmod +x ~/run-pull-deploy.sh && ~/run-pull-deploy.sh'
} }
}
} }
} }
} }