parent
4d959dcd69
commit
0a45e23c7d
@ -78,7 +78,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
|
|
||||||
- name: build-new-service
|
- name: build-new-service
|
||||||
|
|
||||||
image: appleboy/drone-ssh # SSH工具镜像
|
image: maven:3.8.6-jdk-11 # SSH工具镜像
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|
||||||
@ -99,8 +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
|
||||||
- chmod +x package.sh
|
- mvn clean 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
|
||||||
|
Loading…
Reference in New Issue
Block a user