Jenkins构建流水线,运行的时候出现错误unable to access 'https://github.com/xxx/xxx.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
Started by user skkisn hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- origin +refs/heads/main:refs/remotes/origin/main" returned status code 128: stdout: stderr: fatal: unable to access 'https://github.com/skkisn/Jenkinstest.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2842) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2185) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:635) at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:406) at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:219) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:118) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:70) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Finished: FAILURE
解决办法
具体步骤如下:
文章评论