Revert bad commit

main
Anthony 2023-11-03 01:24:49 +08:00
parent 200dc954fd
commit 7122a7257d
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ actions:
- if ("${response.exitStatus}" != "0"): - if ("${response.exitStatus}" != "0"):
return: sftpError return: sftpError
- setGlobals: - setGlobals:
username: ${fn.extract(response.out, "\"USERNAME\": \"(.*?)\"")} username: "${fn.extract(response.out, "\"USERNAME\": \"(.*?)\"")}"
password: ${fn.extract(response.out, "\"PASSWORD\": \"(.*?)\"")} password: "${fn.extract(response.out, "\"PASSWORD\": \"(.*?)\"")}"
- return: sftpSuccess - return: sftpSuccess
change_password: change_password:
- cmd[cp]: - cmd[cp]: