github-branch-source Интеграция Jenkins не работает с ошибкой: stderr: fatal: Невозможно найти удаленного помощника для 'https' - PullRequest
0 голосов
/ 07 апреля 2020

Ниже приведена трассировка стека исключений, которую я вижу в журнале консоли Jenkins, который автоматически создается / запускается при событии pu sh.

Pu sh событие на главном филиале Подключение к https://Gihub-private-repo/api/v3 с использованием vinId / ****** (vinId_pass) Получено Jenkinsfile из 02f2d3a422dd46cb25bc7bad6c7f9ac1aedd58e7 Работает на уровне долговечности: MAX_SURVIVABILITY [Pipeline] Запуск узла Pipeline [Pipeline] Работает на Jenjenjens injenjkins в jenjkins / workspace / teGhe_JenStUpdGhe_JenStUp_master [конвейер] {[конвейер] этап [конвейер] {(декларативный: извлечение SCM) извлечение [конвейер] с использованием учетных данных vinId_pass

/ usr / bin / git rev-parse - - -is-inside-work-tree # timeout = 10 Извлечение изменений из удаленного Git хранилища / usr / bin / git config remote.origin.url https://Gihub-private-repo/vinId/JenStUp.git # timeout = 10 Извлечение без теги Извлечение исходящих изменений из https://Gihub-private-repo/vinId/JenStUp.git / usr / bin / git --version # timeout = 10 с использованием GIT_ASKPASS для установки учетных данных vinId_pass / usr / bin / git fetch --no-tags --progress - https://Gihub-private-repo/vinId/JenStUp.git + refs /heads / master: refs / remotes / origin / master # timeout = 10 ОШИБКА: ошибка при получении удаленного репо 'origin' hudson.plugins. git .GitException : Не удалось извлечь из https : //Gihub-private-repo/vinId/JenStUp.git at hudson.plugins. git .GitSCM .fetchFrom (GitSCM. java: 899) в hudson.plugins. git .GitSCM.retrieveChanges (GitSCM. java: 1114) в hudson.plugins. git .GitSCM.checkout (GitSCM. java : 1145) в org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout (SCMStep. java: 124) в org.jenkinsci.plugins.workflow.steps.scm.SCMStep $ StepExecutionImpl.run (SCMStep. java: 93) в org.jenkinsci.plugins.workflow.steps.scm.SCMStep $ StepExecutionImpl.run (SCMStep. java: 80) в org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda SynchronousNonBlockingStepExecution. java: 47) в java .util.concurrent.Executors $ RunnableAdapter.call (Executors. java: 511) в java .util.concurrent.FutureTask.run (Futur eTask. java: 266) в java .util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor. java: 1149) в java .util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor. * 10 *. 624) в java .lang.Thread.run (поток. java: 748). Вызывается: hudson.plugins. git .GitException: Command "/ usr / bin / git fetch --no-tags --progress - https://Gihub-private-repo/vinId/JenStUp.git + refs /heads / master: refs / remotes / origin / master "вернул код состояния 128: stdout: stderr: fatal: Невозможно найти удаленного помощника для ' https 'at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn (CliGitAPIImpl. java: 2372) по адресу org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithGat * 198567. jenkinsci.plugins.gitclient.CliGitAPIImpl.access $ 500 (CliGitAPIImpl. java: 80) в org.jenkinsci.plugins.gitclient.CliGitAPIImpl $ 1.execute (CliGitAPIImpl. java: 563). GitSCM.fetchFrom (GitSCM. java: 897) ... еще 11 [Pipeline]}

Установка lib пакет curl для каждого поста, но не повезло, что это сработало.

Нужно ли больше зависимых пакетов или изменить способ работы в Jenkins?

...