问题描述
修改项目的仓库地址后,使用jenkins构建报错
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/【测试】客户端/client-fonchain-main
The recommended git tool is: NONE
using credential 680a5841-cfa5-4d8a-bb38-977f796c26dd
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/【测试】客户端/client-fonchain-main/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url http://xxxxxx/fonchain/fonchain-main.git # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from http://xxxxx/fonchain/fonchain-main.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:1003)
主要报错内容:ERROR: Error fetching remote repo ‘origin’
解决方案
在jenkins的工作空间中,选择【清理工作空间】。然后再执行Build即可。



![[240929] 12 款最佳免费开源隐写工具 | Llama 3.2: 开源、可定制模型,革新边缘人工智能和视觉体验](https://i-blog.csdnimg.cn/direct/cb736925c2a2433f98c6d9928399479f.png#pic_center)










![World of Warcraft [CLASSIC][80][Alonsus][Dark Iron Legacy]](https://i-blog.csdnimg.cn/direct/e20589854293425ea970af138be00670.jpeg)





