The outputFile element is used to specify the path to a local file on the agent in which the standard output of the command being executed should be stored. The path to the local file is specified through the name attribute in the outputFile element. Relative paths are interpreted relative to the command"s working directory.
The outputFile element must be specified if the background element is specified.
If outputFile is not specified and the successCriteria element does not specify an outputMatches, the respective output of the command will not be stored and will be lost. If outputMatches is specified, the standard output will be stored in a temporary file and that will be deleted after command is done executing.
Name |
Type |
Required |
Configurable |
Description |
name |
String |
Yes |
Yes |
The file to write the standard output of the command to. Should be a non-empty string. |