xinwei #48
@ -99,8 +99,8 @@ 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
|
||||
- mvn --version
|
||||
- mvn package -Dmaven.test.skip=true
|
||||
- chmod +x package.sh
|
||||
- ./package.sh
|
||||
- port=48092 # 指定端口号
|
||||
- pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号
|
||||
- if [[ -n "$pid" ]]; then
|
||||
|
1
package.sh
Normal file
1
package.sh
Normal file
@ -0,0 +1 @@
|
||||
mvn clean package -Dmaven.test.skip=true
|
Loading…
Reference in New Issue
Block a user