我将git存储库从本地服务器迁移到Azure存储库。
与Azure存储库的连接是通过代理服务器完成的。
Jenkins服务器中的Git插件执行以下fetch命令。 “ / usr / bin / git fetch --tags --progress-origin + refs / heads / :refs / remotes / origin / ”
这始终可达到95%。因此,设置或通过代理连接没有普遍问题
但是我随机从fetch命令中收到以下错误:
hudson.plugins.git.GitException:返回命令“ / usr / bin / git fetch --tags --progress-origin + refs / heads / :refs / remotes / origin / ”状态码128: 标准输出: stderr:致命:无法访问”:请求的URL返回错误:503
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1985)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:80)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:563)
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:370)
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:330)
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:396)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582)
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:98)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:299)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
你们中的任何一个有想法或提示吗?
使用的版本:
Jenkins服务器2.190.3
Jenkins git-plugin 4.0.0
git 2.24.1.590.gb02fd2a