Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.2.0
-
None
-
None
Description
From, the docs, I understand that capturing output of a remote SSH script requires :
- Explicit <capture-output/> tag
- Ensuring the output to be a java properties file, even in case of error.
I find this behavior quite limiting and counter intuitive.
I would expect that, by default, the complete output of any script call would be available in some log file, for troubleshooting.
Also, I would expect to have some <capture-raw-output/> tag, in order to forward the output of a failing script to an email for instance.
Instead of that, we need to adapt existing scripts, in order to output meaningful error in the very restrictive format :
'"error=Some short error"
This is not always possible, as it is hard to control the output of the underlying commands called by a script (bash typically).