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

develop
p47623895 4 years ago
parent d44aa69b5d
commit b595cb0979

@ -37,7 +37,7 @@ steps:
- echo ====暂停容器开始11=======
- cd /opt/visualization
- tomcat=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }')
- if [ -z "${tomcat}" ]; then echo 1 > test.log else kill -9 $tomcat fi
- kill -9 $tomcat >/dev/null 2>&1
- mvn clean package
- java -jar target/demo-0.0.1-SNAPSHOT.jar
- echo ====部署成功======

Loading…
Cancel
Save