Периодически при checkout из github есть такие ошибки. Если сталкивались, то прошу поделиться всеми возможными решениями или решениями по точному выявлению виновника проблемы (сеть, github...):
The recommended git tool is: /usr/bin/git
using credential github-PAT
Fetching changes from the remote Git repository
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from
https://github.com/myrepo/mygit.git at hudson.plugins.git.GitSCM.fetchFrom(
GitSCM.java:1001)
at hudson.plugins.git.GitSCM.retrieveChanges(
GitSCM.java:1242)
at hudson.plugins.git.GitSCM.checkout(
GitSCM.java:1302)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(
SCMStep.java:125)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$
StepExecutionImpl.run(
SCMStep.java:93)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$
StepExecutionImpl.run(
SCMStep.java:80)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(
SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --force --progress --
https://github.com/myrepo/mygit.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: unable to access '
https://github.com/myrepo/mygit.git/': TCP connection reset by peer