2014-02-11 2 views
5

을 반환하지만, 젠킨스 콘솔은 항상 나에게이 오류 코드 제공 : 나는 그것을 여러 가지 방법을 시도젠킨스는 내가의 Bitbucket GIT 저장소로 설정 젠킨스에 노력하고 상태 코드 (128)

Started by user Dakado 
Building in workspace /var/lib/jenkins/workspace/TEST852 
Fetching changes from the remote Git repository 
Fetching upstream changes from git://bitbucket.org/GameTeamCZ/gtplaytime.git 
FATAL: Failed to fetch from git://bitbucket.org/GameTeamCZ/gtplaytime.git 
hudson.plugins.git.GitException: Failed to fetch from git://bitbucket.org/GameTeamCZ/ gtplaytime.git 
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:625) 
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:847) 
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:872) 
at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) 
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:651) 
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560) 
at hudson.model.Run.execute(Run.java:1670) 
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
at hudson.model.ResourceController.execute(ResourceController.java:88) 
at hudson.model.Executor.run(Executor.java:231) 
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git:// bitbucket.org/GameTeamCZ/gtplaytime.git +refs/heads/*:refs/remotes/origin/*"  returned status code 128: 
stdout: 
stderr: bitbucket.org[0: 131.103.20.167]: errno=Connection timed out 
bitbucket.org[0: 131.103.20.168]: errno=Connection timed out 
fatal: unable to connect a socket (Connection timed out) 

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1148) 
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1018) 
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:74) 
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:207) 
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623) 
... 10 more 

를하지만 항상 실패합니다. 내 서버에서 포트 9418의 트래픽이 허용됩니다. 서버가 1Gbps 연결입니다.

답변

1

귀하의 문제는 바로 여기에 있습니다 :

Fetching upstream changes from git://bitbucket.org/GameTeamCZ/gtplaytime.git 
FATAL: Failed to fetch from git://bitbucket.org/GameTeamCZ/gtplaytime.git 

이 저장소 공공 또는 민간인가?

먼저 사용하여 로그인/암호 당신 젠킨스 서버 설치 자격 증명에 해당 페이지를 참조하십시오 자격 증명을 사용하여

https://**login:password**@bitbucket.org/GameTeamCZ//gtplaytime.git 

둘째 : https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git가 개인 인 경우 은, 당신의 환매 약정에 연결하는 2 가지 방법이있다

[email protected]:TEAM/REPO.git 
:

그런 다음 당신은 당신의 저장소에 로그인하기 위해 그 같은 명령을 사용할 수 있습니다

관련 문제