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

develop
p47623895 4 years ago
parent 6f3268d181
commit 461d382932

@ -36,14 +36,13 @@ steps:
script:
- echo ====暂停容器开始11=======
- source /etc/profile
- echo ${JAVA_HOME}
- cd /opt/visualization
- /opt/usr/local/maven/apache-maven-3.5.4/bin/mvn clean package
- 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
- sleep 4s
- echo ====部署成功======
trigger:
branch:

Loading…
Cancel
Save