Builds
Develocity

Get the network activity of a Gradle build.

This model is Gradle specific and cannot be requested for another build tool. This model is only available starting with Gradle version 3.5 and Develocity Gradle Plugin version 1.6.

get/api/builds/{id}/gradle-network-activity

Request

Response

The network activity of a Gradle build.

networkRequestCountinteger required

This represents the total count of network requests.

serialNetworkRequestTimeinteger required

The duration in milliseconds representing the sum of times for potentially parallel network requests. It does not reflect wall clock time but offers a rough estimation of network activity.

wallClockNetworkRequestTimeinteger

The estimate in milliseconds representing the wall clock time spent on network requests during the current build. It is calculated by comparing the critical path within non-execution and execution phases with and without network requests, converted to wall clock time. This is null when Gradle version is lower than 6.2 or the Develocity plugin version is lower than 3.12.

fileDownloadSizeinteger required

The total number of bytes downloaded for dependencies. It accounts only for the bytes of the files (e.g. POMs, JARs) downloaded and not the total network transfer.

fileDownloadCountinteger required

The total number of successfully downloaded files.

methodsobject

A breakdown of the network activity by HTTP method, when available.

repositoriesobject

A breakdown of the network activity by repository URL, when available. This is empty when Gradle version is lower than 4.10, Develocity plugin version is lower than 1.16, or no repositories were captured.

repositoryMethodsobject

A breakdown of the network activity by HTTP method and repository, when available.

Changes

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