Artifacts

Artifacts produced by a build that should be uploaded upon successful completion of all build steps.

JSON representation
{
  "images": [
    string
  ],
  "objects": {
    object (ArtifactObjects)
  }
}
Fields
images[]

string

A list of images to be pushed upon the successful completion of all build steps.

The images will be pushed using the builder service account's credentials.

The digests of the pushed images will be stored in the Build resource's results field.

If any of the images fail to be pushed, the build is marked FAILURE.

objects

object (ArtifactObjects)

A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.

Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials.

The location and generation of the uploaded objects will be stored in the Build resource's results field.

If any objects fail to be pushed, the build is marked FAILURE.

ArtifactObjects

Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.

JSON representation
{
  "location": string,
  "paths": [
    string
  ],
  "timing": {
    object (TimeSpan)
  }
}
Fields
location

string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements).

Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths[]

string

Path globs used to match files in the build's workspace.

timing

object (TimeSpan)

Output only. Stores timing information for pushing all artifact objects.

Bu sayfayı yararlı buldunuz mu? Lütfen görüşünüzü bildirin:

Şunun hakkında geri bildirim gönderin...

Cloud Build Documentation