Jenkinsfile: remove docker stop as there is nothing stop.

Lanhui-add-articles
Hui Lan 2021-07-13 11:32:13 +08:00
parent d431c0cb4b
commit 1013373c32
1 changed files with 0 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -12,7 +12,6 @@ pipeline {
steps { steps {
echo 'Building..' echo 'Building..'
sh 'sudo docker build -t englishpal .' sh 'sudo docker build -t englishpal .'
sh 'sudo docker stop $(docker ps -aq)'
sh 'sudo docker run -d -p 91:80 -v /var/lib/jenkins/workspace/EnglishPal_Pipeline_master/app/static/frequency:/app/static/frequency -t englishpal' sh 'sudo docker run -d -p 91:80 -v /var/lib/jenkins/workspace/EnglishPal_Pipeline_master/app/static/frequency:/app/static/frequency -t englishpal'
} }
} }