2013-08-19 4 views
0

Git 리포지토리에 Jenkins 로컬 경로를 제공하고 싶습니다. 나는 git init 명령을 사용하여 해당 폴더의 자식의 repo에서 시작,하지만 난 젠킨스 설정 페이지의 경로를 설정할 때 얻을 : "관리자 젠킨스"에서 자식 설치 디렉토리의 올바른 경로를 설정하는Jenkins가 Mac에서 Git 리포지토리를 보지 못했습니다.

Failed to connect to repository : Command "/usr/bin/git ls-remote -h 

/Users/asd/Documents/workspace/mavenTest HEAD" returned status code 128: 
stdout: 
stderr: fatal: '/Users/asd/Documents/workspace/mavenTest' does not appear to be a git repository 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 

답변

1

시도합니다. 내 경우에는 내가 창에서 같은 문제를 겪고 난에 설치 디렉토리의 경로를 구성 :

C : 사용자 \ \ 사용자 이름 \의 AppData \ 로컬 \ GitHub의 \ PortableGit_randomnumber \ cmd를 \ gitk.cmd

이미 windows에 대해 here을 요청했습니다.

관련 문제