GradleAttributes

data class GradleAttributes(@Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "gradleVersion") val gradleVersion: String, @Json(name = "pluginVersion") val pluginVersion: String, @Json(name = "requestedTasks") val requestedTasks: 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 = "gradleEnterpriseSettings") val gradleEnterpriseSettings: GradleGradleEnterpriseSettings, @Json(name = "develocitySettings") val develocitySettings: GradleDevelocitySettings, @Json(name = "buildOptions") val buildOptions: GradleBuildOptions, @Json(name = "environment") val environment: BuildAttributesEnvironment, @Json(name = "rootProjectName") val rootProjectName: String? = null, @Json(name = "hasVerificationFailure") val hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") val hasNonVerificationFailure: Boolean? = null)

The attributes of a Gradle Build Scan.

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 since Epoch.

gradleVersion

The Gradle version used.

pluginVersion

The Develocity Gradle plugin version used.

requestedTasks

The list of requested tasks.

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.

gradleEnterpriseSettings
develocitySettings
buildOptions
environment
rootProjectName

The root project name. null in case of very early build failure.

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 failed: 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 = "gradleVersion") gradleVersion: String, @Json(name = "pluginVersion") pluginVersion: String, @Json(name = "requestedTasks") requestedTasks: 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 = "gradleEnterpriseSettings") gradleEnterpriseSettings: GradleGradleEnterpriseSettings, @Json(name = "develocitySettings") develocitySettings: GradleDevelocitySettings, @Json(name = "buildOptions") buildOptions: GradleBuildOptions, @Json(name = "environment") environment: BuildAttributesEnvironment, @Json(name = "rootProjectName") rootProjectName: String? = null, @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
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
val rootProjectName: String? = null
Link copied to clipboard