From 1013373c32d7e8ad10c2634a681682cd5db02026 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Tue, 13 Jul 2021 11:32:13 +0800 Subject: [PATCH] Jenkinsfile: remove docker stop as there is nothing stop. --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 434c00f..2ed78e7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,6 @@ pipeline { steps { echo 'Building..' 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' } }