ToolExecutionArgs

data class ToolExecutionArgs(val commandLineArguments: Output<List<String>>? = null, val exitCode: Output<ToolExitCodeArgs>? = null, val toolLogs: Output<List<FileReferenceArgs>>? = null, val toolOutputs: Output<List<ToolOutputReferenceArgs>>? = null) : ConvertibleToJava<ToolExecutionArgs>

An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code.

Constructors

Link copied to clipboard
fun ToolExecutionArgs(commandLineArguments: Output<List<String>>? = null, exitCode: Output<ToolExitCodeArgs>? = null, toolLogs: Output<List<FileReferenceArgs>>? = null, toolOutputs: Output<List<ToolOutputReferenceArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ToolExecutionArgs

Properties

Link copied to clipboard
val commandLineArguments: Output<List<String>>? = null

The full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In update request: never set

Link copied to clipboard
val exitCode: Output<ToolExitCodeArgs>? = null

Tool execution exit code. This field will be set once the tool has exited. - In response: present if set by create/update request - In create request: optional - In update request: optional, a FAILED_PRECONDITION error will be returned if an exit_code is already set.

Link copied to clipboard
val toolLogs: Output<List<FileReferenceArgs>>? = null

References to any plain text logs output the tool execution. This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the tool is running. The maximum allowed number of tool logs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing list

Link copied to clipboard

References to opaque files of any format output by the tool execution. The maximum allowed number of tool outputs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing list