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

develop
p47623895 4 years ago
parent d76961062e
commit afe2000650

@ -40,13 +40,9 @@ steps:
port: 52222 port: 52222
script: script:
- echo ====暂停容器开始11======= - echo ====暂停容器开始11=======
- docker rm -f mo-test
- docker rmi mo-test:1.0
- cd /opt/visualization - cd /opt/visualization
- echo ====开始部署======= - echo ====开始部署=======
- docker build -t mo-test:1.0 . - cat /etc/profile
- docker run -d -p 8080:8080 --name mo-test mo-test:1.0
- pwd
- java -jar target/demo-0.0.1-SNAPSHOT.jar - java -jar target/demo-0.0.1-SNAPSHOT.jar
- echo ====部署成功====== - echo ====部署成功======
trigger: trigger:

Loading…
Cancel
Save