The errorFile element is used to specify the path to a local file on the agent in which the error output of the command being executed should be stored. The path to the local file is specified through the name attribute in the errorFile element. Relative paths are interpreted relative to the command"s working directory.
The errorFile element must be specified if the background element is specified.
If errorFile is not specified and the successCriteria element doesn"t specify an errorMatches, the respective output of the command will not be stored and will be lost. If errorMatches is specified, the error 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 error output of the command to. Should be a non-empty string. |