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

This commit is contained in:
XinWei 2024-08-28 10:48:03 +08:00
parent 309bb333af
commit 2b73c4899d
2 changed files with 3 additions and 2 deletions

View File

@ -99,8 +99,8 @@ 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 --version - chmod +x package.sh
- mvn package -Dmaven.test.skip=true - ./package.sh
- port=48092 # 指定端口号 - port=48092 # 指定端口号
- pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号 - pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号
- if [[ -n "$pid" ]]; then - if [[ -n "$pid" ]]; then

1
package.sh Normal file
View File

@ -0,0 +1 @@
mvn clean package -Dmaven.test.skip=true