ERROR: Timeout after 10 minutes ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git@gitlab.gaoxiaobang.com:huikeyun/huikeyun-teacher-android.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:143) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1818) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Caused by: hudson.plugins.git.GitException: Command "F:\install\Git\cmd\git.exe fetch --tags --progress git@gitlab.gaoxiaobang.com:huikeyun/huikeyun-teacher-android.git +refs/heads/*:refs/remotes/origin/*" returned status code -1073741510:
超时
解决方案
Solution steps:
For resolve the problem we have to edit in Jenkins project configuration and find the "git".
Then click on "Add" button and select "Advanced clone behaviours".
Then in Timeout (in minutes) for clone and fetch operations box put any number which is more then 10, (I put 60 here).
Apply and the save the configuration.
Build Now again , It took some more time to build , but it will fixed this error.