원격 https git 저장소에서 복제 한 후 jenkins에서 프로젝트를 구성하여 빌드합니다. 프로젝트를 복제하는 동안 오류가 발생했습니다.이 문제를 해결할 수있는 도움이 필요합니다.Jenkins : https를 사용하여 원격 git 저장소를 복제하지 못했습니다.
> git config --local credential.username myusername # timeout=10
> git config --local credential.helper store --file=/Users/Shared/Jenkins/tmp/git4065038663529705946.credentials # timeout=10
> git -c core.askpass=true fetch --tags --progress https://[email protected]/bitbucket/scm/xxx/myapp.git +refs/heads/*:refs/remotes/origin/*
ERROR: Timeout after 10 minutes
> git config --local --remove-section credential # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://[email protected]/bitbucket/scm/xxx/myapp.git +refs/heads/*:refs/remotes/origin/*" returned status code 143:
stdout:
stderr:
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1046)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1720)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
ERROR: null
Finished: FAILURE
에 설정 HTTP 프록시 당신은 컴퓨터에 HTTP/HTTPS 프록시 설정을 확인 했습니까? –