You also should check what makes your git clone operation so long. Not a good idea to have a huge git repository, time for cleanup ?
2015-09-07 13:08 GMT+02:00 <[email protected]>: > HI > > Found the solution > > last answer > > > http://stackoverflow.com/questions/19954727/jenkins-time-out-while-fetching-from-github-in-10-mins > > > On Monday, September 7, 2015 at 4:03:24 PM UTC+5:30, [email protected] > wrote: >> >> hi >> >> when i try to build a source code in git i got the following error >> >> what am i doing wrong? >> >> > git --version # timeout=10 >> > git -c core.askpass=true fetch --tags --progress >> https://github.com/wso2/carbon-identity +refs/heads/*:refs/remotes/origin/* >> ERROR: Timeout after 10 minutesERROR >> <http://stacktrace.jenkins-ci.org/search?query=ERROR>: Error fetching remote >> repo 'origin'hudson.plugins.git.GitException >> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: >> Failed to fetch from https://github.com/wso2/carbon-identity >> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom&entity=method> >> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges&entity=method> >> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method> >> at hudson.scm.SCM.checkout(SCM.java:485) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.checkout&entity=method> >> at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method> >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method> >> at >> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) >> <http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method> >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> >> at hudson.model.Run.execute(Run.java:1741) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> >> at hudson.model.ResourceController.execute(ResourceController.java:98) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >> at hudson.model.Executor.run(Executor.java:381) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >> Caused by: hudson.plugins.git.GitException >> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: >> Command "git -c core.askpass=true fetch --tags --progress >> https://github.com/wso2/carbon-identity +refs/heads/*:refs/remotes/origin/*" >> returned status code 128: >> stdout: >> stderr: remote: Counting objects: 83829, done. [K >> remote: Compressing objects: 4% (1/22) [K >> remote: Compressing objects: 9% (2/22) [K >> remote: Compressing objects: 13% (3/22) [K >> remote: Compressing objects: 18% (4/22) [K >> remote: Compressing objects: 22% (5/22) [K >> remote: Compressing objects: 27% (6/22) [K >> remote: Compressing objects: 31% (7/22) [K >> >> ... >> >> >> Receiving objects: 9% (7565/83829), 17.04 MiB | 164.00 KiB/s >> Receiving objects: 9% (7568/83829), 17.18 MiB | 185.00 KiB/s >> Receiving objects: 9% (7571/83829), 17.60 MiB | 247.00 KiB/s >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1600) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1363) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:61) >> at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:299) >> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) >> ... 11 more >> ERROR: nullFinished >> <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE >> >> >> >> thanks >> >> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/36f9dcf6-3fa9-4947-996e-b633de80bce5%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/36f9dcf6-3fa9-4947-996e-b633de80bce5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJznrwq8u15YCW4aMJ2%2BC8JYT94_Bfzyo4H3P9SyFmdfiMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
