Builds
Develocity

Get the attributes of an npm build.

This model is npm specific and cannot be requested for another build tool.

get/api/builds/{id}/npm-attributes

Request

Response

The attributes of an npm build.

idstring required

The Build Scan ID.

buildStartTimeinteger required

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

buildDurationinteger required

The duration of the build, as milliseconds.

exitCodeinteger nullable

The exit code of the npm process.

nodejsVersionstring

The Node.js version used.

npmVersionstring required

The npm version used.

npmAgentVersionstring required

The version of the Develocity npm agent.

tagsstring[] required

The list of Build Scan tags.

userstring nullable

The username of the user that ran the build.

hoststring nullable

The hostname of the user that ran the build, if set.

packageNamestring nullable

The name of the package. null in case of very early build failure.

hasFailedboolean required

True when the build fails, false otherwise.

hasVerificationFailureboolean

Set only if the build failed: 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.

hasNonVerificationFailureboolean

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.

Changes

No recorded changes to this operation across all 1 revision of this API.