2016-04-04 3 views
0

Я пробовал те же шаги в Mac, что он работает без каких-либо проблем, на моей машине Windows, когда я пытаюсь запустить простую задачу сборки Gulp с помощью Jenkins Github plugin, она не будет работать, Я просто попытался каждый думаю (позволяет Git/Java в брандмауэре, изменив значение тайм-аута, перезапустить службу, запустить службу из ЦМД ...), по-прежнему бросает ту же ошибку:Jenkins не запускает задачу сборки gulp с плагином Github

Started by user anonymous 
Building in workspace C:\Program Files (x86)\Jenkins\jobs\git_pull\workspace 
> C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10 
Fetching changes from the remote Git repository 
> C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/lapalateam/LapalaApp.git # timeout=10 
Fetching upstream changes from https://github.com/lapalateam/LapalaApp.git 
> C:\Program Files\Git\bin\git.exe --version # timeout=10 
using .gitcredentials to set credentials 
> C:\Program Files\Git\bin\git.exe config --local credential.username [email protected] # timeout=10 
> C:\Program Files\Git\bin\git.exe config --local credential.helper store --file=\"c:\temp\git8251275763118801702.credentials\" # timeout=10 
> C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/lapalateam/LapalaApp.git +refs/heads/*:refs/remotes/origin/* 
ERROR: Timeout after 10 minutes 
> C:\Program Files\Git\bin\git.exe config --local --remove-section credential # timeout=10 
ERROR: Error fetching remote repo 'origin' 
hudson.plugins.git.GitException: Failed to fetch from https://github.com/lapalateam/LapalaApp.git 
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810) 
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066) 
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097) 
    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) 
Caused by: hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/lapalateam/LapalaApp.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: 
stdout: 
stderr: 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) 
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808) 
    ... 11 more 
ERROR: null 
Finished: FAILURE 

Может кто-то помочь я выясняю, что происходит не так?

ответ

0

Проблема заключается в том, что git fetch работает в тайм-аут после 10 минут:

> C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/lapalateam/LapalaApp.git +refs/heads/*:refs/remotes/origin/* 
ERROR: Timeout after 10 minutes 

Вы можете увеличить время ожидания путем добавления «Advanced поведения клонов» в «Дополнительном Поведении» и установите «Тайм-аут (в минутах) для операций клонирования и выборки ", например 20.

enter image description here

+0

Я попытался с 200 тайм-аут, и он пошел к бесконечной нагрузки ... –

+0

мерзавец медленно на окнах. Если ваше репо огромное, вам придется подождать. – daspilker

+0

проект составляет 225 мб, сколько времени я должен ждать? –

Смежные вопросы