From a4dd2e7f0f785b1daaa85d4b088d587ac2a41dd4 Mon Sep 17 00:00:00 2001 From: zhangli <123879394@qq.com> Date: Sat, 23 Aug 2025 12:08:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=BA=E5=88=B6=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=A7=E5=AE=B9=E5=99=A8=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4d12d06..041dc3f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,8 @@ pipeline { sh ''' if [ "$(docker ps -f 'name=sczx_order-container' --format '{{.Status}}')" ]; then docker stop sczx_order-container - docker rm sczx_order-container + echo "停止并删除现有的容器..." + docker rm -f sczx_order-container || true fi ''' }