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

This commit is contained in:
XinWei 2024-08-28 11:17:30 +08:00
parent ada8827a19
commit 4f0e57aac6

View File

@ -99,7 +99,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
- cd /root/ludu-cloud - cd /root/ludu-cloud
- git pull origin master - 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 - rm -f ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/framework/nacos/config/BeanInit.java
- mvn clean package -Dmaven.test.skip=true - mvn package -Dmaven.test.skip=true
- port=48092 # 指定端口号 - port=48092 # 指定端口号
- pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号 - pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号
- if [[ -n "$pid" ]]; then - if [[ -n "$pid" ]]; then