micrometer-metrics/micrometer

Cache baseline JARs on CI

Open

#7,102 建立於 2026年1月21日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Java (4,220 star) (935 fork)batch import
buildhelp wantedtype: task

描述

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.

貢獻者指南

Cache baseline JARs on CI · micrometer-metrics/micrometer#7102 | Good First Issue