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
script:
- echo ====暂停容器开始11=======
- docker rm -f mo-test
- docker rmi mo-test:1.0
- cd /opt/visualization
- echo ====开始部署=======
- docker build -t mo-test:1.0 .
- docker run -d -p 8080:8080 --name mo-test mo-test:1.0
- pwd
- cat /etc/profile
- java -jar target/demo-0.0.1-SNAPSHOT.jar
- echo ====部署成功======
trigger:

Loading…
Cancel
Save