mirror of
https://github.com/ghndrx/docker-test-image.git
synced 2026-02-10 14:55:14 +00:00
remove deploy
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -29,14 +29,14 @@ pipeline{
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
// Deploy to remote Docker host
|
||||
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'"
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Deploy') {
|
||||
// steps {
|
||||
// // Deploy to remote Docker host
|
||||
// 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'"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
||||
Reference in New Issue
Block a user