Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions google/cloud/devtools/cloudbuild_v1/types/cloudbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,22 @@ class BuildStep(proto.Message):
this time, build step status is only updated on
build completion; step status is not updated in
real-time as the build progresses.
allow_failure (bool):
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.
exit_code (int):
Output only. Return code from running the
step.
allow_exit_codes (Sequence[int]):
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.
script (str):
A shell script to be executed in the step.
When script is provided, the user cannot specify
Expand Down Expand Up @@ -537,6 +553,18 @@ class BuildStep(proto.Message):
number=12,
enum="Build.Status",
)
allow_failure = proto.Field(
proto.BOOL,
number=14,
)
exit_code = proto.Field(
proto.INT32,
number=16,
)
allow_exit_codes = proto.RepeatedField(
proto.INT32,
number=18,
)
script = proto.Field(
proto.STRING,
number=19,
Expand Down