xinwei #48

Merged
root merged 2 commits from xinwei into master 2024-08-28 10:52:21 +08:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 2b73c4899d - Show all commits

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