2014-07-07 5 views
8

Git 플러그인을 사용하여 Jenkins에서 Git 프로젝트를 구성하려고합니다.오류 : 원격 저장소 '원점 복제 오류'

'Manage Jenkins'페이지에서 나는 Git 구성에 저장소 URL을 입력합니다.

ERROR: Error cloning remote repo 'origin' 
hudson.plugins.git.GitException: Could not init C:\Users\m.kothamasu\.jenkins\jobs\gvp web\workspace 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute(CliGitAPIImpl.java:476) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:379) 
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:846) 
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:879) 
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1252) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:624) 
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530) 
    at hudson.model.Run.execute(Run.java:1732) 
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
    at hudson.model.ResourceController.execute(ResourceController.java:88) 
    at hudson.model.Executor.run(Executor.java:234) 

Caused by: hudson.plugins.git.GitException: Error performing command: C:\Users\m.kothamasu\GIT init C:\Users\m.kothamasu\.jenkins\jobs\gvp web\workspace 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1332) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1301) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1297) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1084) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute(CliGitAPIImpl.java:474) 
    ... 11 more 
Caused by: java.io.IOException: Cannot run program "C:\Users\m.kothamasu\GIT" (in directory "C:\Users\m.kothamasu\.jenkins\jobs\gvp web\workspace"): CreateProcess error=5, Access is denied 
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 
    at hudson.Proc$LocalProc.<init>(Proc.java:244) 
    at hudson.Proc$LocalProc.<init>(Proc.java:216) 
    at hudson.Launcher$LocalLauncher.launch(Launcher.java:780) 
    at hudson.Launcher$ProcStarter.start(Launcher.java:360) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1321) 
    ... 15 more 
Caused by: java.io.IOException: CreateProcess error=5, Access is denied 
    at java.lang.ProcessImpl.create(Native Method) 
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) 
    at java.lang.ProcessImpl.start(ProcessImpl.java:30) 
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) 
    ... 20 more 
+0

오류 = 5 의미 : 파일이 실행 가능하지 않거나 액세스 할 수 없습니다. – CodeWizard

+0

안녕하세요.이 문제를 해결하는 방법은 무엇입니까? –

답변

5

확인 당신이 당신의 젠킨스 힘내 플러그인 구성에 실행을 자식을 지정 않은 : 나는 다음과 같은 오류가 프로젝트를 짓고 있어요 때

그러나

C:\Users\m.kothamasu\GI하지 않습니다 exe처럼 보입니다.

비슷한 내용은 JENKINS-6181과 비슷하지만 (perforce와 비슷하지만 아이디어는 동일합니다.)

이 PATH에 있는지 확인하려면 JENKINS-12353을 확인하십시오. 섹션 노드 속성 표시 확인란 도구 위치에서,

고토 구성 및 힘내에 당신에게 경로를 설정 :

0

당신은 젠킨스 서버/노드 구성에 망할 놈의 위치를 ​​설정할 수 있습니다.