From 951e05db475ffaf1c0cf7ab0975f9255202ea329 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=B0=8F=E9=A3=9E?= <2624970078@qq.com>
Date: Tue, 1 Jun 2021 10:53:19 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Jenkinsfile,=E5=9C=A8?=
 =?UTF-8?q?=E6=9E=84=E5=BB=BA=E6=97=B6=E5=8F=AA=E5=81=9C=E6=AD=A2=E5=8D=B3?=
 =?UTF-8?q?=E5=B0=86=E8=BF=90=E8=A1=8C=E7=9A=84image?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5c5c836..f599335 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,7 +18,7 @@ pipeline {
             steps {
                 echo 'Building..'
                 sh 'sudo docker build -t englishpalzhangxf .'
-                sh 'sudo docker stop $(docker ps -aq)'
+                sh 'sudo docker stop englishpalzhangxf'
                 sh 'sudo docker run -d -p 5000:80 -v /var/lib/jenkins/workspace/EnglishPal_Pipeline_master/app/static/frequency:/app/static/frequency  -t englishpalzhangxf'
             }
         }