2014-10-02 2 views
0

으로 설정하십시오. Source Code Management에서 Git을 선택하고 다음을 지정했습니다. URL.
젠킨스 작업 내에서 gitlab repo를 SCM

Repository URL: https://gitlab.com/team/repo.git 
Failed to connect to repository: Received fatal alert: handshake_failure 

[[email protected] ~]$ git ls-remote -h [email protected]:team/repo.git HEAD 
[[email protected] ~]$ 

은 어떻게 handshake_failure를 받고있어 올?

+0

같은 문제가 있습니다. – crossle

답변

0

이 작업이 끝났습니다. 젠킨스 사용자가 gitlab 레포에 액세스 할 수 있는지 확인하십시오.

예를 들어 ssh 키를 gitlab에 업로드하면 젠킨스에서 복제 할 수 있습니다.

Started by user anonymous 
Building in workspace /home/rob/.jenkins/jobs/Test/workspace 
Cloning the remote Git repository 
Cloning repository [email protected]:team/repo.git 
> git init /home/rob/.jenkins/jobs/Test/workspace # timeout=10 
Fetching upstream changes from [email protected]:team/repo.git 
> git --version # timeout=10 
> git fetch --tags --progress [email protected]:team/repo.git +refs/heads/*:refs/remotes/origin/* 
> git config remote.origin.url [email protected]:team/repo.git # timeout=10 
> git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 
> git config remote.origin.url [email protected]:team/repo.git # timeout=10 
Fetching upstream changes from [email protected]:team/repo.git 
> git fetch --tags --progress [email protected]:team/repo.git +refs/heads/*:refs/remotes/origin/* 
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10 
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 
Checking out Revision 73c78ce6b86711b24aca184fcaa796e00a7a1ece (refs/remotes/origin/master) 
> git config core.sparsecheckout # timeout=10 
> git checkout -f 73c78ce6b86711b24aca184fcaa796e00a7a1ece 
First time build. Skipping changelog. 
Finished: SUCCESS 
관련 문제