Builds
GradleEnterprise
Develocity

Get the attributes of a Bazel build.

This model is Bazel specific and cannot be requested for another build tool.

get/api/builds/{id}/bazel-attributes

Request

Response

The attributes of a Bazel build.

idstring required

The Build Scan ID.

invocationIdstring nullable

The Bazel-provided build invocation ID. Null when not known.

buildStartTimeinteger required

The time when the build starts, as milliseconds since Epoch.

buildDurationinteger required

The duration of the build, as milliseconds.

bazelVersionstring required

The Bazel version used.

commandstring required

The Bazel command used (e.g. build, test, run).

targetPatternsstring[]

The list of requested target patterns.

exitCodeinteger nullable

The exit code of the Bazel process.

userstring nullable

The BUILD_USER workspace value, if set.

hoststring nullable

The BUILD_HOST workspace value, if set.

tagsstring[] required

The list of Build Scan tags.

moduleNamestring nullable

The name of the module, or workspace. null in case of very early build failure.

hasFailedboolean required

True when the build fails, false otherwise.

Changes

No recorded changes to this operation across all 1 revision of this API.