From f8b5e77485bf6f3d1f4193c806dd73c3e2e8f89d Mon Sep 17 00:00:00 2001 From: p47623895 <18235900245@163.com> Date: Fri, 9 Apr 2021 12:43:40 +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 0616824..adb69d1 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -39,7 +39,8 @@ steps: - mvn clean package - echo ====开始部署======= - cat /etc/profile - - /usr/lib/jvm/jdk1.8.0_111/bin/java -jar target/demo-0.0.1-SNAPSHOT.jar + - /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: