|
|
@ -43,11 +43,11 @@ steps: |
|
|
|
path: /root/.ssh/ |
|
|
|
settings: |
|
|
|
host: test.tall.wiki |
|
|
|
port: 22 |
|
|
|
port: 30022 |
|
|
|
username: root |
|
|
|
key_path: /root/.ssh/id_rsa |
|
|
|
rm: false # true则会删除目标目录重建 |
|
|
|
target: /home/iacd-platform-drone |
|
|
|
target: /home/cloud/yanyuan/ |
|
|
|
source: target/*.jar |
|
|
|
strip_components: 1 # 去除的目录层数,如果没有该选项,则拷贝过去是 target/xxx.jar,1代表去除target |
|
|
|
|
|
|
@ -60,7 +60,7 @@ steps: |
|
|
|
settings: |
|
|
|
settings: |
|
|
|
host: test.tall.wiki |
|
|
|
port: 22 |
|
|
|
port: 30022 |
|
|
|
username: root |
|
|
|
key_path: /root/.ssh/id_rsa |
|
|
|
script_stop: true # stop script after first failure |
|
|
|