Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build is passing Details

develop
p47623895 4 years ago
parent b37351e376
commit f3179a1149

@ -40,7 +40,8 @@ steps:
- echo ====开始部署======= - echo ====开始部署=======
- tomcat=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }') - tomcat=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }')
- kill -9 $tomcat - 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 ====部署成功====== - echo ====部署成功======
trigger: trigger:
branch: branch:

Loading…
Cancel
Save