This commit is contained in:
Gregory Hendrickson
2023-06-09 12:05:16 -07:00
parent df1dfa867f
commit f749d2c643

11
Jenkinsfile vendored
View File

@@ -29,6 +29,14 @@ pipeline{
}
}
}
stage('Deploy') {
steps {
// Deploy to remote Docker host
sshagent(['ssh_credentials']) {
sh "ssh 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 {
@@ -36,4 +44,5 @@ pipeline{
}
}
}
}