相关疑难解决方法(0)

Jenkins(Windows)非常慢Git fetch

我们在Windows Server 2012上的Jenkins安装上遇到了缓慢的git fetch命令.我已经尝试了这些线程中提到的所有解决方案:

任何人都可以通过永久修复找到解决方案吗?

Jenkins的控制台输出日志:

由远程主机启动

在工作区F:\ Jenkins\jobs\xxx\workspace中构建主服务器

> git.exe rev-parse --is-inside-work-tree #timeout = 10

从远程Git存储库中获取更改

> git.exe config remote.origin.url xhttp:// scm/git/xxx #timeout = 10

从xhttp:// scm/git/xxx获取上游更改

> git.exe --version #timeout = 10

使用.gitcredentials设置凭据

> git.exe config --local credential.helper store --file = \"C:\ Users\APP_JE~1\AppData\Local\Temp\git7476037793811743133.credentials \"#timeout = 10

> git.exe -c core.askpass = true fetch --tags --progress xhttp:// scm/git/xxx + refs/heads/:refs/remotes/origin /

问题在这里:上述命令可能需要30秒到120秒.在本地开发机器上需要几秒钟.

> git.exe config --local --remove-section credential #timetime = 10

版本信息:

詹金斯:1.608(最新) …

git ssh git-fetch jenkins jenkins-plugins

25
推荐指数
1
解决办法
9252
查看次数

你如何设置Hudson与Git合作?

我正在尝试将Hudson设置为CI服务器,但我无法让一切工作正常.我正在尝试使用'官方'git插件.我没有使用stephenh开发的备用插件进行任何测试.

我想知道是否有其他人让Hudson与Git或任何CI服务器一起工作与Git合作.如果是这样,如何以及使用什么配置.

相关信息是我在Hudson 1.277,我使用的是Git 1.6.1.1.230.gdfb04和Git Plugin 0.5,都在Windows平台上.

提前致谢!

git continuous-integration hudson

13
推荐指数
1
解决办法
2万
查看次数