GradleAttributes

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)

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.