Compare commits

...

2 Commits

Author SHA1 Message Date
dda07281f0 镜像源修改
Some checks reported errors
continuous-integration/drone Build was killed
2024-09-13 11:39:48 +08:00
497c101b5b 镜像源修改 2024-09-13 11:39:16 +08:00

View File

@ -21,7 +21,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来 path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
commands: # 定义在Docker容器中执行的shell命令 commands: # 定义在Docker容器中执行的shell命令
- mvn clean package -Dmaven.test.skip=true -Dmaven.repo.remote=http://maven.aliyun.com/nexus/content/groups/public/,http://maven.aliyun.com/nexus/content/repositories/central/,http://repo2.maven.org/maven2/ # 应用打包命令 - mvn clean package -Dmaven.test.skip=true # 应用打包命令
- | - |
if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target