diff --git a/Jenkinsfile b/Jenkinsfile index 434c00f..b005e85 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline { steps { echo 'Building..' sh 'sudo docker build -t englishpal .' - sh 'sudo docker stop $(docker ps -aq)' + sh 'sudo docker stop $(sudo 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' } }