Build Object
Build(
Build.substitutions = NULL,
Build.timing = NULL,
results = NULL,
logsBucket = NULL,
steps = NULL,
buildTriggerId = NULL,
id = NULL,
tags = NULL,
startTime = NULL,
substitutions = NULL,
timing = NULL,
sourceProvenance = NULL,
createTime = NULL,
images = NULL,
projectId = NULL,
logUrl = NULL,
finishTime = NULL,
source = NULL,
options = NULL,
timeout = NULL,
status = NULL,
statusDetail = NULL,
artifacts = NULL,
secrets = NULL,
availableSecrets = NULL,
serviceAccount = NULL
)
The Build.substitutions object or list of objects
The Build.timing object or list of objects
Output only
Google Cloud Storage bucket where logs should be written (see
Required
Output only
Output only
Tags for annotation of a `Build`
Output only
Substitutions data for `Build` resource
Output only
Output only
Output only
A list of images to be pushed upon the successful completion of all build
Output only
Output only
Output only
A Source object specifying the location of the source files to build, usually created by cr_build_source
Special options for this build
Amount of time that this build should be allowed to run, to second
Output only
Output only
Artifacts produced by the build that should be uploaded upon
Secrets to decrypt using Cloud Key Management Service [deprecated]
preferred way to use Secrets, via Secret Manager
service account email to be used for the build
Build object
A build resource in the Cloud Build API.
At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts.
Fields can include the following variables, which will be expanded when the build is created:-
$PROJECT_ID: the project ID of the build.
$BUILD_ID: the autogenerated ID of the build.
$REPO_NAME: the source repository name specified by RepoSource.
$BRANCH_NAME: the branch name specified by RepoSource.
$TAG_NAME: the tag name specified by RepoSource.
$REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag.
$SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
Other Cloud Build functions:
RepoSource()
,
Source()
,
StorageSource()
,
cr_build_artifacts()
,
cr_build_list()
,
cr_build_logs()
,
cr_build_make()
,
cr_build_status()
,
cr_build_targets()
,
cr_build_upload_gcs()
,
cr_build_wait()
,
cr_build_write()
,
cr_build_yaml_artifact()
,
cr_build_yaml_secrets()
,
cr_build_yaml()
,
cr_build()