ssh_creds

This commit is contained in:
Gregory Hendrickson
2023-06-09 12:45:51 -07:00
parent ba825ed5a3
commit 12e0cf669f

2
Jenkinsfile vendored
View File

@@ -32,7 +32,7 @@ pipeline{
stage('Deploy') {
steps {
// Deploy to remote Docker host
sshagent(['ssh_credentials']) {
sshagent(['ssh_creds']) {
sh "ssh -o StrictHostKeyChecking=no administrator@172.16.11.90 'docker stop --name docker-test-image && docker pull aisthanestha/docker-test-image:latest && docker run -d -p 8082:80 --name docker-test-image:latest'"
}
}