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

develop
p47623895 4 years ago
parent ddc6d33dbe
commit 47c479a638

@ -39,7 +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 demo-0.0.1-SNAPSHOT.jar >a.log 2>&1 &
- 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

Loading…
Cancel
Save