Compare commits
No commits in common. "51138d8a455a7721a9fafab087b1c5051cd50d29" and "501997db97c17b442a4b5a980bb7a613d7851556" have entirely different histories.
51138d8a45
...
501997db97
@ -93,15 +93,14 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
port: 22 # 远程连接端口
|
||||
|
||||
command_timeout: 10m # 远程执行命令超时时间
|
||||
# 设置使用 bash shell
|
||||
shell: bash
|
||||
|
||||
script:
|
||||
# 导出远程服务器上的 PATH 环境变量
|
||||
- export PATH=$PATH
|
||||
|
||||
- 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 package -Dmaven.test.skip=true
|
||||
- chmod +x package.sh
|
||||
- ./package.sh
|
||||
- port=48092 # 指定端口号
|
||||
- pid=$(lsof -t -i:$port) # 获取占用指定端口的进程号
|
||||
- if [[ -n "$pid" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user