簡體   English   中英

Jenkins git 插件使用 bitbucket 獲取狀態代碼 128

[英]Jenkins git plugin getting status code 128 with bitbucket

有時,當 jenkins 嘗試從 bitbucket 簽出一個 repo 時,它會給我錯誤 128..

我使用 SSH 密鑰進行身份驗證,並且大部分時間它都可以工作.. 但有時我會收到此錯誤..

> Fetching upstream changes from
> git@bitbucket.org:team/myCoreRepo.git
>  > C:\Program Files\Git\bin\git.exe --version # timeout=10
>  > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress git@bitbucket.org:team/myCoreRepo.git
> +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > C:\Program Files\Git\bin\git.exe config remote.origin.url git@bitbucket.org:team/myCoreRepo.git # timeout=10
>  > C:\Program Files\Git\bin\git.exe config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > C:\Program Files\Git\bin\git.exe config remote.origin.url git@bitbucket.org:team/myCoreRepo.git # timeout=10 Fetching
> upstream changes from git@bitbucket.org:team/myCoreRepo.git
>  > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress git@bitbucket.org:team/myCoreRepo.git
> +refs/heads/*:refs/remotes/origin/* # timeout=10 ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch
> from git@bitbucket.org:team/myCoreRepo.git    at
> hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:904)  at
> hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1144)   at
> hudson.plugins.git.GitSCM.checkout(GitSCM.java:1175)  at
> org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:143)
>   at hudson.scm.SCM.checkout(SCM.java:504)    at
> hudson.model.AbstractProject.checkout(AbstractProject.java:1208)  at
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
>   at
> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>   at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
>   at hudson.model.Run.execute(Run.java:1816)  at
> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)   at
> hudson.model.ResourceController.execute(ResourceController.java:97)
>   at hudson.model.Executor.run(Executor.java:429) Caused by:
> hudson.plugins.git.GitException: Command "C:\Program
> Files\Git\bin\git.exe fetch --tags --force --progress
> git@bitbucket.org:team/myCoreRepo.git
> +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout:  stderr: Connection closed by 18.205.93.2 port 22 fatal: Could not read
> from remote repository.
> 
> Please make sure you have the correct access rights and the repository
> exists.

當 Jenkins 磁盤空間不足時,我們也看到了這種行為。 所以你可能想檢查一下。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM