构建修改

This commit is contained in:
XinWei 2024-08-23 14:50:04 +08:00
parent 4aaef038ff
commit d45939b599

View File

@ -12,7 +12,7 @@ steps:
path: /app/build path: /app/build
commands: commands:
- mvn package -Dmaven.test.skip=true - mvn package -Dmaven.test.skip=true
- | - |
if [ "$serverName" = "yudao-gateway" ] || [ "$serverName" = "all" ]; then if [ "$serverName" = "yudao-gateway" ] || [ "$serverName" = "all" ]; then
mkdir -p /app/build/yudao-gateway/target mkdir -p /app/build/yudao-gateway/target
cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target cp ./yudao-gateway/target/yudao-gateway.jar /app/build/yudao-gateway/target