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

develop
p47623895 4 years ago
parent 805da72111
commit f94adf7e69

@ -6,11 +6,6 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: maven
image: maven:3-jdk-10
commands:
- cd visualization
- mvn clean package
# 本模板示例为上传软件包和部署脚本到home目录 # 本模板示例为上传软件包和部署脚本到home目录
# host、username、password可在参数管理中配置 # host、username、password可在参数管理中配置
- name: 上传文件 - name: 上传文件
@ -41,6 +36,7 @@ steps:
script: script:
- echo ====暂停容器开始11======= - echo ====暂停容器开始11=======
- cd /opt/visualization - cd /opt/visualization
- mvn clean package
- echo ====开始部署======= - echo ====开始部署=======
- cat /etc/profile - cat /etc/profile
- /usr/lib/jvm/jdk1.8.0_111/bin/java -jar target/demo-0.0.1-SNAPSHOT.jar - /usr/lib/jvm/jdk1.8.0_111/bin/java -jar target/demo-0.0.1-SNAPSHOT.jar

Loading…
Cancel
Save