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

develop
p47623895 4 years ago
parent 9b0c3f707f
commit 661876b5bc

@ -36,7 +36,7 @@ steps:
script: script:
- echo ====暂停容器开始11======= - echo ====暂停容器开始11=======
- cd /opt/visualization - cd /opt/visualization
- mvn clean package - /opt/usr/local/maven/apache-maven-3.5.4/bin/mvn clean package
- 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

Loading…
Cancel
Save