From 578077da5423ac7d6f1114840c3ab68df5534e7d Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 16 Oct 2024 17:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=B8=80=E4=B8=8B=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=97=B6,=E5=AE=B9=E5=99=A8=E6=9B=B4=E6=9B=BF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oms_jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oms_jenkins b/oms_jenkins index ac719cb..338588d 100644 --- a/oms_jenkins +++ b/oms_jenkins @@ -25,7 +25,7 @@ pipeline { stage('部署') { steps { echo 'Deploying...' - sh 'docker stop oms-node-service || true' + sh 'docker stop oms-node-service || true && docker rm oms-node-service || true' sh 'docker run -d --name oms-node-service -p 12526:12525 oms-node-service:latest' } }