Open Sroose opened 5 years ago
Additional data for reproducing:
CONNECTION FILE
[{
"type": "connection",
"data": {
"name": "local_sftp",
"description": "Connection to our local system server",
"type": "host.linux",
"environment": "dev",
"parameters": [
{"name": "host","value": "7e6cddc8346c"},
{"name": "port","value": "22"},
{"name": "user","value": "dummy_user_and_pass"},
{"name": "password","value": "ENC(XKq6zFCFqyeKIHPjoWya9aHdHVbTvLpP9A==)"},
{"name": "tempPath","value": "/tmp/"},
{"name": "simulateTerminal","value": "N"},
{"name": "jumphostConnections","value": "N"}
]
}
}]
SCRIPT FILE
[{
"type": "Script",
"data": {
"name": "testScript",
"description": "whatever",
"version": {
"number": "1",
"description": "initial version"
},
"actions": [{
"number": "1",
"type": "cli.executeCommand",
"name": "testAction",
"description": "whatever",
"component": "",
"errorExpected": "N",
"errorStop": "Y",
"parameters": [
{"name": "path", "value": "/tmp/"},
{"name": "command", "value": "echo 123"},
{"name": "connection", "value": "local_sftp"}
]
}
]
}
}]
When using the actiontype cli.executeCommand Conditions:
the tool tries to change directory but it fails with the following stacktrace: