Update Jenkinsfile

This commit is contained in:
Brady-Malott 2023-02-17 17:40:09 -05:00 committed by GitHub
parent 53b17efde5
commit e77137b0d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -10,7 +10,7 @@ pipeline {
stage('Deploy') {
steps {
// Stop running microblog container
sh 'docker ps -q --filter ancestor=microblog:latest | docker stop'
sh 'echo $(docker ps -q --filter ancestor=microblog:latest) | docker stop'
// Deploy new container
sh 'docker run -d -p 5000:5000 microblog:latest'
}