|
|
@@ -83,11 +83,11 @@ steps:
|
|
|
settings:
|
|
|
port: 22
|
|
|
host:
|
|
|
- from_secret: daogucms_ssh_host
|
|
|
+ from_secret: ssh_host
|
|
|
username:
|
|
|
- from_secret: daogucms_ssh_username
|
|
|
+ from_secret: ssh_user
|
|
|
password:
|
|
|
- from_secret: daogucms_ssh_password
|
|
|
+ from_secret: ssh_pwd
|
|
|
command_timeout: 5m
|
|
|
source:
|
|
|
- target/test.jar
|
|
|
@@ -104,11 +104,11 @@ steps:
|
|
|
settings:
|
|
|
port: 22
|
|
|
host:
|
|
|
- from_secret: daogucms_ssh_host
|
|
|
+ from_secret: ssh_host
|
|
|
username:
|
|
|
- from_secret: daogucms_ssh_username
|
|
|
+ from_secret: ssh_user
|
|
|
password:
|
|
|
- from_secret: daogucms_ssh_password
|
|
|
+ from_secret: ssh_pwd
|
|
|
command_timeout: 1m
|
|
|
script:
|
|
|
# (此时是在 SSH登录服务器 的作用域)
|
|
|
@@ -136,11 +136,11 @@ steps:
|
|
|
settings:
|
|
|
port: 22
|
|
|
host:
|
|
|
- from_secret: daogucms_ssh_host
|
|
|
+ from_secret: ssh_host
|
|
|
username:
|
|
|
- from_secret: daogucms_ssh_username
|
|
|
+ from_secret: ssh_user
|
|
|
password:
|
|
|
- from_secret: daogucms_ssh_password
|
|
|
+ from_secret: ssh_pwd
|
|
|
command_timeout: 5m
|
|
|
source:
|
|
|
- target/test-dev.jar
|
|
|
@@ -157,11 +157,11 @@ steps:
|
|
|
settings:
|
|
|
port: 22
|
|
|
host:
|
|
|
- from_secret: daogucms_ssh_host
|
|
|
+ from_secret: ssh_host
|
|
|
username:
|
|
|
- from_secret: daogucms_ssh_username
|
|
|
+ from_secret: ssh_user
|
|
|
password:
|
|
|
- from_secret: daogucms_ssh_password
|
|
|
+ from_secret: ssh_pwd
|
|
|
command_timeout: 1m
|
|
|
script:
|
|
|
- cd /home/app
|