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: