Bazel Attributes
data class BazelAttributes(@Json(name = "id" ) val id: String, @Json(name = "buildStartTime" ) val buildStartTime: Long, @Json(name = "buildDuration" ) val buildDuration: Long, @Json(name = "bazelVersion" ) val bazelVersion: String, @Json(name = "command" ) val command: String, @Json(name = "tags" ) val tags: List<String>, @Json(name = "values" ) val propertyValues: List<BuildAttributesValue>, @Json(name = "links" ) val links: List<BuildAttributesLink>, @Json(name = "invocationId" ) val invocationId: String? = null, @Json(name = "targetPatterns" ) val targetPatterns: List<String>? = null, @Json(name = "exitCode" ) val exitCode: Int? = null, @Json(name = "user" ) val user: String? = null, @Json(name = "host" ) val host: String? = null)
The attributes of a Bazel build.
Parameters
id
The Build Scan ID.
build Start Time
The time when the build starts, as milliseconds since Epoch.
build Duration
The duration of the build, as milliseconds.
bazel Version
The Bazel version used.
command
The Bazel command used (e.g. build, test, run).
tags
The list of Build Scan tags.
property Values
The list of Build Scan values.
links
The list of Build Scan links.
invocation Id
The Bazel-provided build invocation ID. Null when not known.
target Patterns
The list of requested target patterns.
exit Code
The exit code of the Bazel process.
user
The BUILD_USER workspace value, if set.
host
The BUILD_HOST workspace value, if set.
Constructors
Link copied to clipboard
constructor(@Json(name = "id" ) id: String, @Json(name = "buildStartTime" ) buildStartTime: Long, @Json(name = "buildDuration" ) buildDuration: Long, @Json(name = "bazelVersion" ) bazelVersion: String, @Json(name = "command" ) command: String, @Json(name = "tags" ) tags: List<String>, @Json(name = "values" ) propertyValues: List<BuildAttributesValue>, @Json(name = "links" ) links: List<BuildAttributesLink>, @Json(name = "invocationId" ) invocationId: String? = null, @Json(name = "targetPatterns" ) targetPatterns: List<String>? = null, @Json(name = "exitCode" ) exitCode: Int? = null, @Json(name = "user" ) user: String? = null, @Json(name = "host" ) host: String? = null)