From f475915ab61662fb207d4a99968adc90f544fb7f 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 11:09:10 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B9=8B=E5=81=9C=E6=AD=A2=E5=8D=B3=E5=B0=86?=
 =?UTF-8?q?=E8=BF=90=E8=A1=8C=E7=9A=84image=E5=A4=B1=E8=B4=A5=EF=BC=8C?=
 =?UTF-8?q?=E5=9B=9E=E6=BA=AF=E4=B8=80=E4=B8=8B?=
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 f599335..5c5c836 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,7 +18,7 @@ pipeline {
             steps {
                 echo 'Building..'
                 sh 'sudo docker build -t englishpalzhangxf .'
-                sh 'sudo docker stop englishpalzhangxf'
+                sh 'sudo docker stop $(docker ps -aq)'
                 sh 'sudo docker run -d -p 5000:80 -v /var/lib/jenkins/workspace/EnglishPal_Pipeline_master/app/static/frequency:/app/static/frequency  -t englishpalzhangxf'
             }
         }