Caused by: hudson.plugins.git.GitException: Command "/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress http://git.xx.xx.xx/xxx/xxx.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access 'http://git.xx.xx.xx/xxx/xxx.git/': Failed connect to git.xx.xx.xx:80; Operation now in progress at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
What's more stange is that I already tried the exact same commands used by jenkins in the command line, using the jenkins user, and it works. Only when running from jenkins itself we get this "Failed connect". So we can rule out firewall issues. Also checked proxy settings.
Does anyone have a clue?
Thanks!Fetching upstream changes from http://git.xx.xx.xx/xxx/xxx.git > /usr/local/git/bin/git --version # timeout=10 using .gitcredentials to set credentials > /usr/local/git/bin/git config --local credential.username xxx.xxx # timeout=10 > /usr/local/git/bin/git config --local credential.helper store --file=/tmp/git1190630939683432581.credentials # timeout=10 > /usr/local/git/bin/git -c core.askpass=true fetch --tags --progress http://git.xx.xx.xx/xxx/xxx.git +refs/heads/*:refs/remotes/origin/*> /usr/local/git/bin/git config --local --remove-section credential # timeout=10 ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from http://git.xx.xx.xx/xxx/xxx.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408)
Caused by: hudson.plugins.git.GitException: Command "/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress http://git.xx.xx.xx/xxx/xxx.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access 'http://git.xx.xx.xx/xxx/xxx.git/
': Failed connect to git.xx.xx.xx:80; Operation now in progress 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 hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) ... 11 more ERROR: null Finished: FAILURE
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7181dfb6-6f87-4270-8fd1-5ca9df577ac7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.