Interface ConfigStepCommand
- All Superinterfaces:
ConfigStep
Runs a system command.
type: post-step
Example XML:
<command>
<exec>scripts/example.sh</exec>
<stdin>scripts/example-input.txt</stdin>
<stdout>scripts/example-output.txt</stdout>
<stderr>scripts/example-error.txt</stderr>
<argument>arg1</argument>
<argument>arg2</argument>
</command>
-
Method Summary
Modifier and TypeMethodDescriptionThe arguments sent to the command.getError()
The path to a file for storing the error output of the process.getExec()
The path to executable to run.getInput()
The path to a file containing input to the command.The path to a file for storing the standard output of the process.void
setArguments
(List<String> arguments) void
void
void
void
-
Method Details
-
getExec
String getExec()The path to executable to run. This can be an absolute path or a path relative to the output directory. The working directory of the command will be the output directory. XML tag: "exec"- Returns:
- The path to executable to run.
-
setExec
-
getInput
String getInput()The path to a file containing input to the command. If available, all content of the file will be piped to the input stream of the process. This can be an absolute path or a path relative to the output directory. XML tag: "stdin"- Returns:
- The path to a file containing input to the command.
-
setInput
-
getOutput
String getOutput()The path to a file for storing the standard output of the process. If available, all standard output from the process will be stored in this file. This can be an absolute path or a path relative to the output directory. XML tag: "stdout"- Returns:
- The path to a file for storing the standard output of the process.
-
setOutput
-
getError
String getError()The path to a file for storing the error output of the process. If available, all error output from the process will be stored in this file. This can be an absolute path or a path relative to the output directory. XML tag: "stderr"- Returns:
- The path to a file for storing the error output of the process.
-
setError
-
getArguments
The arguments sent to the command. XML tag: "argument"- Returns:
- The arguments sent to the command.
-
setArguments
-