Reference documentation and code samples for the Google Cloud Build V1 Client class Result.
The end result of the Build.
Protobuf type google.devtools.build.v1.BuildStatus.Result
Methods
name
ParameterName | Description |
value |
mixed
|
value
ParameterName | Description |
name |
mixed
|
Constants
UNKNOWN_STATUS
Value: 0
Unspecified or unknown.
Generated from protobuf enum UNKNOWN_STATUS = 0;
COMMAND_SUCCEEDED
Value: 1
Build was successful and tests (if requested) all pass.
Generated from protobuf enum COMMAND_SUCCEEDED = 1;
COMMAND_FAILED
Value: 2
Build error and/or test failure.
Generated from protobuf enum COMMAND_FAILED = 2;
USER_ERROR
Value: 3
Unable to obtain a result due to input provided by the user.
Generated from protobuf enum USER_ERROR = 3;
SYSTEM_ERROR
Value: 4
Unable to obtain a result due to a failure within the build system.
Generated from protobuf enum SYSTEM_ERROR = 4;
RESOURCE_EXHAUSTED
Value: 5
Build required too many resources, such as build tool RAM.
Generated from protobuf enum RESOURCE_EXHAUSTED = 5;
INVOCATION_DEADLINE_EXCEEDED
Value: 6
An invocation attempt time exceeded its deadline.
Generated from protobuf enum INVOCATION_DEADLINE_EXCEEDED = 6;
REQUEST_DEADLINE_EXCEEDED
Value: 8
Build request time exceeded the request_deadline
Generated from protobuf enum REQUEST_DEADLINE_EXCEEDED = 8;
CANCELLED
Value: 7
The build was cancelled by a call to CancelBuild.
Generated from protobuf enum CANCELLED = 7;