merge-results
This merge-results function takes a sequence of result objects and merges it to a single result object. This expression function produces a result object that sets the exit code to the maximum number of all the exit codes in the sequence, the error message to be a concatenation of all the individual error messages in order, stdout and stderr to be a concatenation of the individual stdout and stderr, and the result files to be a collection from all the input results, in the order produced.
The merge-results function is used in Resume steps. For details, see Resume Steps.
Signature
merge-results (sequence of result) -> result |