parent
309bb333af
commit
2b73c4899d
@ -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
1
package.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
mvn clean package -Dmaven.test.skip=true
|
Loading…
Reference in New Issue
Block a user