init
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
XinWei 2024-07-27 15:51:46 +08:00
parent 2a443fd816
commit caed090788

View File

@ -12,6 +12,7 @@ steps:
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来 path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
commands: # 定义在Docker容器中执行的shell命令 commands: # 定义在Docker容器中执行的shell命令
- mvn clean package -DskipTests=true # 应用打包命 - mvn clean package -DskipTests=true # 应用打包命
- pwd
- cd target - cd target
- pwd - pwd
- cp target/mypubdemo-0.0.1-SNAPSHOT.jar /app/build/mypubdemo-0.0.1.jar - cp target/mypubdemo-0.0.1-SNAPSHOT.jar /app/build/mypubdemo-0.0.1.jar