Jenkinsfile: remove docker stop as there is nothing stop.
parent
d431c0cb4b
commit
1013373c32
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue