|
|
@ -12,7 +12,7 @@ steps: |
|
|
|
path: /mnt/app/build # 将应用打包好的Jar和执行脚本挂载出来 |
|
|
|
path: /mnt/app/build # 将应用打包好的Jar和执行脚本挂载出来 |
|
|
|
commands: # 定义在Docker容器中执行的shell命令 |
|
|
|
commands: # 定义在Docker容器中执行的shell命令 |
|
|
|
- mvn clean package -DskipTests=true # 应用打包命 |
|
|
|
- mvn clean package -DskipTests=true # 应用打包命 |
|
|
|
- cp target/coreqi.jar /mnt/app/build/coreqi.jar |
|
|
|
- cp target/drone-demo.jar /mnt/app/build/drone-demo.jar |
|
|
|
- cp entrypoint.sh /mnt/app/build/ |
|
|
|
- cp entrypoint.sh /mnt/app/build/ |
|
|
|
- cp Dockerfile /mnt/app/build/ |
|
|
|
- cp Dockerfile /mnt/app/build/ |
|
|
|
- cp run.sh /mnt/app/build/ |
|
|
|
- cp run.sh /mnt/app/build/ |
|
|
|