Update Jenkinsfile
This commit is contained in:
parent
895102e75f
commit
190401dcba
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -17,7 +17,8 @@ pipeline {
|
|||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker build -t bun-pseudosubs-v1:latest .'
|
sh 'docker build -t bun-pseudosubs-v1:latest .'
|
||||||
sh 'docker stop bun-pseudosubs-v1 || docker rm bun-pseudosubs-v1 || true'
|
sh 'docker stop bun-pseudosubs-v1 || true'
|
||||||
|
sh 'docker rm bun-pseudosubs-v1 || true'
|
||||||
sh 'docker run -d --name bun-pseudosubs-v1 -p 3485:3485 bun-pseudosubs-v1:latest'
|
sh 'docker run -d --name bun-pseudosubs-v1 -p 3485:3485 bun-pseudosubs-v1:latest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user