Class Command (2.2.0)

public sealed class Command : IMessage<Command>, IEquatable<Command>, IDeepCloneable<Command>, IBufferMessage, IMessage

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

Inheritance

Object > Command

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

Command()

public Command()

Command(Command)

public Command(Command other)
Parameter
NameDescription
otherCommand

Properties

Args

public RepeatedField<string> Args { get; }

Command-line arguments used when executing this command.

Property Value
TypeDescription
RepeatedField<String>

Dir

public string Dir { get; set; }

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

Property Value
TypeDescription
String

Env

public RepeatedField<string> Env { get; }

Environment variables set before running this command.

Property Value
TypeDescription
RepeatedField<String>

Id

public string Id { get; set; }

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

Property Value
TypeDescription
String

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
String

WaitFor

public RepeatedField<string> WaitFor { get; }

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

Property Value
TypeDescription
RepeatedField<String>