Jenkins 构建失败并出现错误“无法将元数据 commons-io:commons-io:2.5-SNAPSHOT/maven-metadata.xml from/to spring-milestones”

问题描述

我们有一个配置为构建 Spring Boot 微服务的 Jenkins 作业。它开始失败,出现以下错误,没有配置更改。

Could not transfer Metadata commons-io:commons-io:2.5-SNAPSHOT/maven-Metadata.xml from/to spring-milestones (https://repo.spring.io/milestone): hostname in certificate did not match: <repo.spring.io> != <*.jfrog.io> OR <*.jfrog.io> OR <jfrog.io>

我检查了另一个具有相同存储库(在 pom.xml 和 settings.xml 中配置)的微服务,它成功构建。 有什么我可以做的吗?这次失败的原因可能是什么? 提前致谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)