Description
Jenkins 拉取git 仓库代码报错:ERROR: Error fetching remote repo 'origin'
-
相关报错
+refs/pull/*:refs/remotes/origin/pr/* --depth=1 # timeout=60 22:29:14 ERROR: Error fetching remote repo 'origin' 22:29:14 hudson.plugins.git.GitException: Failed to fetch from <https://github.com/xxxxxx/ppppp.git> 22:29:14 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888) 22:29:14 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155) 22:29:14 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186) 22:29:14 at hudson.scm.SCM.checkout(SCM.java:505) 22:29:14 at hudson.model.AbstractProject.checkout(AbstractProject.java:1206) 22:29:14 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:637) 22:29:14 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 22:29:14 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:509) 22:29:14

本文介绍了在使用Jenkins从Git仓库拉取代码时遇到的ERROR: Error fetching remote repo 'origin'错误。错误原因是shallow.lock文件存在,解决方案是删除该文件并重新拉取代码。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



