micrometer-metrics/micrometer

Cache baseline JARs on CI

Open

#7102 opened on Jan 21, 2026

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Java (4,220 stars) (935 forks)batch import
buildhelp wantedtype: task

Description

https://app.circleci.com/pipelines/github/micrometer-metrics/micrometer/11311/workflows/78f87759-0807-45d7-8045-9a66d945481e/jobs/62275

We had a CI build failure:

Execution failed for task ':micrometer-registry-statsd:downloadBaseline'.
> A failure occurred while executing de.undercouch.gradle.tasks.download.internal.DefaultWorkerExecutorHelper$DefaultWorkAction
   > de.undercouch.gradle.tasks.download.org.apache.hc.core5.http.NoHttpResponseException: The target server failed to respond

I've never seen this before so it's not been a significant issue, but each branch will always download the same baseline versions, which makes it a good candidate to include in the CI cache, so it doesn't repeatedly download the same JARs every CI build.

Contributor guide