2017-04-20 1 views
0

젠킨스 및 건물 프로젝트에 문제가 있습니다. 어제 모두 작동했는데 구성에서 변경된 사항이없고 플러그인 또는 젠킨스가 업데이트되지 않았습니다. 다음은 직장에서 내 출력 :젠킨스가 상태 코드 128을 도커와 함께 반환했습니다.

ERROR: Error cloning remote repo 'origin' 
hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress [email protected]:AAA/0YYY7.git +refs/heads/*:refs/remotes/origin/* --depth=1" returned status code 128: 
stdout: 
stderr: /tmp/ssh2047466924933280956.sh: 6: /tmp/ssh2047466924933280956.sh: ssh: not found 
fatal: Could not read from remote repository. 

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

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:505) 
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) 
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:120) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:326) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:745) 
    at ......remote call to Jenkins Docker-913d3eb3a611(Native Method) 
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) 
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) 
    at hudson.remoting.Channel.call(Channel.java:781) 
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) 
    at sun.reflect.GeneratedMethodAccessor1152.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131) 
    at com.sun.proxy.$Proxy107.execute(Unknown Source) 
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1013) 
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053) 
    at hudson.scm.SCM.checkout(SCM.java:485) 
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1276) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) 
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) 
    at hudson.model.Run.execute(Run.java:1738) 
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
    at hudson.model.ResourceController.execute(ResourceController.java:98) 
    at hudson.model.Executor.run(Executor.java:410) 
ERROR: null 

하지만 쉘에서 고정 표시기에서 작업을 간부 인 경우에 모두 잘 작동합니다. 무엇이 문제가 될 수 있습니까? 감사합니다.

답변

0

해결되었습니다. 우리 팀의 담당자가 PATH 변수를 변경하고 Windows 용 PATH를 설정했습니다. 그것은 Linux PATH를 오버라이드 시켰고 응용 프로그램이 잘 작동하지 않았습니다.

관련 문제