This commit is contained in:
Gregory Hendrickson
2023-06-09 13:51:36 -07:00
parent 93401a4423
commit 5bcc50965f

16
Jenkinsfile vendored
View File

@@ -29,14 +29,14 @@ pipeline{
} }
} }
// stage('Deploy') { stage('Deploy') {
// steps { steps {
// // Deploy to remote Docker host // Deploy to remote Docker host
// sshagent(['ssh_creds']) { sshagent(['ssh_creds']) {
// sh "ssh -o StrictHostKeyChecking=accept-new 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'" sh "ssh -o StrictHostKeyChecking=accept-new -p $ssh_creds_psw $ssh_creds@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'"
// } }
// } }
// } }
} }
post { post {
always { always {