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

develop
p47623895 4 years ago
parent b595cb0979
commit 5d66d537b7

@ -6,6 +6,12 @@ platform:
os: linux
arch: amd64
steps:
- name: maven
image: maven:3-jdk-10
commands:
- ls
- cd visualization
- mvn install -DskipTests=true
# 本模板示例为上传软件包和部署脚本到home目录
# host、username、password可在参数管理中配置
- name: 上传文件
@ -38,6 +44,7 @@ steps:
- cd /opt/visualization
- tomcat=$(netstat -nlp | grep :8080 | awk '{print $7}' | awk -F"/" '{ print $1 }')
- kill -9 $tomcat >/dev/null 2>&1
- ls
- mvn clean package
- java -jar target/demo-0.0.1-SNAPSHOT.jar
- echo ====部署成功======

Loading…
Cancel
Save