This commit is contained in:
parent
2a443fd816
commit
caed090788
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user