CommandArgs

data class CommandArgs(val args: Output<List<String>>? = null, val dir: Output<String>? = null, val env: Output<List<String>>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val waitFor: Output<List<String>>? = null) : ConvertibleToJava<CommandArgs>

Command describes a step performed as part of the build pipeline.

Constructors

Link copied to clipboard
fun CommandArgs(args: Output<List<String>>? = null, dir: Output<String>? = null, env: Output<List<String>>? = null, id: Output<String>? = null, name: Output<String>? = null, waitFor: Output<List<String>>? = null)

Functions

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

Properties

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

Command-line arguments used when executing this Command.

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

Working directory (relative to project source root) used when running this Command.

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

Environment variables set before running this Command.

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

Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.

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

Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.

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

The ID(s) of the Command(s) that this Command depends on.