From f3179a1149cee77e4c9db026f1a997b4570a4b84 Mon Sep 17 00:00:00 2001 From: p47623895 <18235900245@163.com> Date: Fri, 9 Apr 2021 13:06:11 +0800 Subject: [PATCH] Update '.trustie-pipeline.yml' --- .trustie-pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index 4f20123..fe99d60 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -40,7 +40,8 @@ steps: - echo ====开始部署======= - tomcat=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }') - kill -9 $tomcat - + - /usr/bin/nohup /usr/lib/jvm/jdk1.8.0_111/bin/java -jar target/demo-0.0.1-SNAPSHOT.jar >a.log 2>&1 & + - sleep 8s - echo ====部署成功====== trigger: branch: