Fix jenkinsfile
This commit is contained in:
parent
f54cf63662
commit
6d266a7f40
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -17,7 +17,7 @@ pipeline {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'docker build -t bun-pseudosubs-v1:latest .'
|
||||
sh 'docker stop bun-pseudosubs-v1 && docker rm bun-pseudosubs-v1'
|
||||
sh 'docker stop bun-pseudosubs-v1 || docker rm bun-pseudosubs-v1 || true'
|
||||
sh 'docker run -d --name bun-pseudosubs-v1 -p 3485:3485 bun-pseudosubs-v1:latest'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user