Azure + git fetch -> error: запрошенный URL вернул ошибку: 503 - PullRequest
0 голосов
/ 07 апреля 2020

Я перенес репозиторий git с локального сервера в репозиторий Azure.

Подключение к репозиторию Azure осуществляется через прокси-сервер.

Плагин Git на сервере Jenkins выполняет следующую команду fetch. "/ usr / bin / git fetch --tags --progress - origin + refs / возглавляет / : refs / remotes / origin / "

Это работает 95% всех время. Так что никаких общих проблем с настройкой или соединением через прокси

Но случайно я получаю следующую ошибку из команды fetch:

hudson.plugins. git .GitException: Command "/ usr / bin / git fetch --tags --progress - origin + refs / head / : refs / remotes / origin /"вернул код состояния 128: stdout: stderr: fatal: невозможно получить доступ '': Запрошенный 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 Server 2.190. 3

Jenkins git - плагин 4.0.0

git 2.24.1.590.gb02fd2a

...