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

develop
p47623895 4 years ago
parent f8b5e77485
commit 9b0c3f707f

@ -38,7 +38,8 @@ steps:
- cd /opt/visualization - cd /opt/visualization
- mvn clean package - mvn clean package
- echo ====开始部署======= - echo ====开始部署=======
- cat /etc/profile - 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 & - /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 - sleep 8s
- echo ====部署成功====== - echo ====部署成功======

Loading…
Cancel
Save