MavenAttributes

data class MavenAttributes(@Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "mavenVersion") val mavenVersion: String, @Json(name = "extensionVersion") val extensionVersion: String, @Json(name = "requestedGoals") val requestedGoals: 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: MavenGradleEnterpriseSettings, @Json(name = "develocitySettings") val develocitySettings: MavenDevelocitySettings, @Json(name = "buildOptions") val buildOptions: MavenBuildOptions, @Json(name = "environment") val environment: BuildAttributesEnvironment, @Json(name = "topLevelProjectName") val topLevelProjectName: String? = null, @Json(name = "hasVerificationFailure") val hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") val hasNonVerificationFailure: Boolean? = null)

The attributes of a Maven 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.

mavenVersion

The Maven version used.

extensionVersion

The Develocity Maven extension version used.

requestedGoals

The list of requested goals.

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
topLevelProjectName

The top level 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 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 = "mavenVersion") mavenVersion: String, @Json(name = "extensionVersion") extensionVersion: String, @Json(name = "requestedGoals") requestedGoals: 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: MavenGradleEnterpriseSettings, @Json(name = "develocitySettings") develocitySettings: MavenDevelocitySettings, @Json(name = "buildOptions") buildOptions: MavenBuildOptions, @Json(name = "environment") environment: BuildAttributesEnvironment, @Json(name = "topLevelProjectName") topLevelProjectName: 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
Link copied to clipboard