SbtAttributes

data class SbtAttributes(@Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "sbtVersion") val sbtVersion: String, @Json(name = "pluginVersion") val pluginVersion: String, @Json(name = "rootProjectName") val rootProjectName: String, @Json(name = "requestedCommands") val requestedCommands: List<String>, @Json(name = "hasFailed") val hasFailed: Boolean, @Json(name = "tags") val tags: List<String>, @Json(name = "values") val propertyValues: List<BuildAttributesValue>, @Json(name = "links") val links: List<BuildAttributesLink>, @Json(name = "develocitySettings") val develocitySettings: SbtDevelocitySettings, @Json(name = "buildOptions") val buildOptions: SbtBuildOptions, @Json(name = "environment") val environment: BuildAttributesEnvironment, @Json(name = "hasVerificationFailure") val hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") val hasNonVerificationFailure: Boolean? = null)

The attributes of an sbt build.

Parameters

id

The Build Scan ID.

buildStartTime

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

buildDuration

The duration of the build, as milliseconds.

sbtVersion

The sbt version used.

pluginVersion

The Develocity sbt plugin version used.

rootProjectName

The name of the root project, as reported by sbt.

requestedCommands

The list of requested commands.

hasFailed

True when the build fails, false otherwise.

tags

The list of Build Scan tags.

propertyValues

The list of Build Scan values.

links

The list of Build Scan links.

develocitySettings
buildOptions
environment
hasVerificationFailure

Set only if the build fails: true when the build has at least one failure classified as \"Verification\", false otherwise. The Verification classification is meant for failures that are expected within a standard application development lifecycle. They typically represent a problem with the developer’s inputs to the build such as the source code.

hasNonVerificationFailure

Set only if the build fails: true when the build has at least one failure classified as \"Non-verification\", false otherwise. The Non-verification classification is meant for failures that are typically not expected within a standard application development lifecycle, such as build configuration failures, dependency resolution failures, and infrastructure failures.

Constructors

Link copied to clipboard
constructor(@Json(name = "id") id: String, @Json(name = "buildStartTime") buildStartTime: Long, @Json(name = "buildDuration") buildDuration: Long, @Json(name = "sbtVersion") sbtVersion: String, @Json(name = "pluginVersion") pluginVersion: String, @Json(name = "rootProjectName") rootProjectName: String, @Json(name = "requestedCommands") requestedCommands: List<String>, @Json(name = "hasFailed") hasFailed: Boolean, @Json(name = "tags") tags: List<String>, @Json(name = "values") propertyValues: List<BuildAttributesValue>, @Json(name = "links") links: List<BuildAttributesLink>, @Json(name = "develocitySettings") develocitySettings: SbtDevelocitySettings, @Json(name = "buildOptions") buildOptions: SbtBuildOptions, @Json(name = "environment") environment: BuildAttributesEnvironment, @Json(name = "hasVerificationFailure") hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") hasNonVerificationFailure: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard