|
@@ -27,9 +27,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|
settings:
|
|
settings:
|
|
host: 192.168.1.222 # 远程连接地址
|
|
host: 192.168.1.222 # 远程连接地址
|
|
username: root # 远程连接账号
|
|
username: root # 远程连接账号
|
|
-# password:
|
|
|
|
-# from_secret: ssh_password # 从Secret中读取SSH密码改变
|
|
|
|
- password: 2024@@zhongzheng
|
|
|
|
|
|
+ password:
|
|
|
|
+ from_secret: ssh_password # 从Secret中读取SSH密码改变
|
|
port: 22 # 远程连接端口
|
|
port: 22 # 远程连接端口
|
|
command_timeout: 5m # 远程执行命令超时时间
|
|
command_timeout: 5m # 远程执行命令超时时间
|
|
script:
|
|
script:
|