构建修改
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
XinWei 2024-08-28 11:04:36 +08:00
parent 4d959dcd69
commit 0a45e23c7d

View File

@ -78,7 +78,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
- name: build-new-service
image: appleboy/drone-ssh # SSH工具镜像
image: maven:3.8.6-jdk-11 # SSH工具镜像
settings:
@ -99,8 +99,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
- cd /root/ludu-cloud
- git pull origin master
- rm -f ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/framework/nacos/config/BeanInit.java
- chmod +x package.sh
- ./package.sh
- mvn clean package -Dmaven.test.skip=true
- port=48092 # 指定端口号
- pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号
- if [[ -n "$pid" ]]; then