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

develop
p47623895 4 years ago
parent 47c479a638
commit d44aa69b5d

@ -39,10 +39,7 @@ steps:
- 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
- mvn clean package
- nohup java -jar target/demo-0.0.1-SNAPSHOT.jar >a.log 2>&1 &
- sleep 8s
- springboot=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }')
- if [ -z "${springboot}" ]; then cat a.log fi
- java -jar target/demo-0.0.1-SNAPSHOT.jar
- echo ====部署成功======
trigger:
branch:

Loading…
Cancel
Save