Class Grafeas::V1::Command

Stay organized with collections Save and categorize content based on your preferences.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Array<::String>
Returns
  • (::Array<::String>) — Command-line arguments used when executing this command.

#args=

def args=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Command-line arguments used when executing this command.
Returns
  • (::Array<::String>) — Command-line arguments used when executing this command.

#dir

def dir() -> ::String
Returns
  • (::String) — Working directory (relative to project source root) used when running this command.

#dir=

def dir=(value) -> ::String
Parameter
  • value (::String) — Working directory (relative to project source root) used when running this command.
Returns
  • (::String) — Working directory (relative to project source root) used when running this command.

#env

def env() -> ::Array<::String>
Returns
  • (::Array<::String>) — Environment variables set before running this command.

#env=

def env=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Environment variables set before running this command.
Returns
  • (::Array<::String>) — Environment variables set before running this command.

#id

def id() -> ::String
Returns
  • (::String) — Optional unique identifier for this command, used in wait_for to reference this command as a dependency.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
Returns
  • (::String) — Optional unique identifier for this command, used in wait_for to reference this command as a dependency.

#name

def name() -> ::String
Returns
  • (::String) — Required. 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.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. 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.
Returns
  • (::String) — Required. 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.

#wait_for

def wait_for() -> ::Array<::String>
Returns
  • (::Array<::String>) — The ID(s) of the command(s) that this command depends on.

#wait_for=

def wait_for=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The ID(s) of the command(s) that this command depends on.
Returns
  • (::Array<::String>) — The ID(s) of the command(s) that this command depends on.