public interface BuildStepOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowExitCodes(int index)
public abstract int getAllowExitCodes(int index)
Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
repeated int32 allow_exit_codes = 18;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int | The allowExitCodes at the given index. |
getAllowExitCodesCount()
public abstract int getAllowExitCodesCount()
Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
repeated int32 allow_exit_codes = 18;
Returns | |
---|---|
Type | Description |
int | The count of allowExitCodes. |
getAllowExitCodesList()
public abstract List<Integer> getAllowExitCodesList()
Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
repeated int32 allow_exit_codes = 18;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the allowExitCodes. |
getAllowFailure()
public abstract boolean getAllowFailure()
Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.
bool allow_failure = 14;
Returns | |
---|---|
Type | Description |
boolean | The allowFailure. |
getArgs(int index)
public abstract String getArgs(int index)
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args
are used as arguments to that entrypoint. If the image does not define
an entrypoint, the first element in args is used as the entrypoint,
and the remainder will be used as arguments.
repeated string args = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The args at the given index. |
getArgsBytes(int index)
public abstract ByteString getArgsBytes(int index)