Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 巡航控制与控制;吉特:“;源代码管理操作已超时。”;错误_Git_Cruisecontrol.net - Fatal编程技术网

Git 巡航控制与控制;吉特:“;源代码管理操作已超时。”;错误

Git 巡航控制与控制;吉特:“;源代码管理操作已超时。”;错误,git,cruisecontrol.net,Git,Cruisecontrol.net,我正在尝试创建一个新的巡航控制项目。 为此,我将其添加到我的ccnet.config文件中 吉塔德尔 发布名称 真的 真的 C:\ProgramFiles(x86)\Git\cmd\Git.exe 假的 假的 假的 无人参与Web生成{0} 无人参与Web生成-{0} 奥斯卡·阿尔布雷希特 oalbrecht@unation.com d:\GIT\Sources\WEB 60000 ping.exe 本地服务器 15 ping服务器 但是我有一个 ThoughtWorks.CruiseCon

我正在尝试创建一个新的巡航控制项目。 为此,我将其添加到我的ccnet.config文件中


吉塔德尔
发布名称
真的
真的
C:\ProgramFiles(x86)\Git\cmd\Git.exe
假的
假的
假的
无人参与Web生成{0}
无人参与Web生成-{0}
奥斯卡·阿尔布雷希特
oalbrecht@unation.com
d:\GIT\Sources\WEB
60000
ping.exe
本地服务器
15
ping服务器
但是我有一个

ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation has timed out.
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.GitFetch(IIntegrationResult result)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.CreateUpateLocalRepository(IIntegrationResult result)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
我能够使用git扩展和git bash来提取文件,但是CruiseControl给了我这个错误。 这是非常奇怪和令人沮丧的,因为有一段时间它工作了,我甚至可以创建一个msbuild文件来编译它,等等,但是它停止了工作,没有任何更改,现在我被卡住了

会发生什么

编辑:我将超时时间增加到2小时。我开始建造,我也开始在第二台机器上拉。我可以完成3次拉取,我在ccnet中得到的信息仍然是“git fetch origin”。好像锁上了。
有没有办法检查控制台输出的操作?

可能是帐户问题。您需要更改CC服务帐户。。Git基于ssh,ssh绑定到用户帐户

这是账户问题。我遇到了一个类似的问题,通过从services.msc重新启动服务CruiseControl.NET服务器解决了这个问题

超时需要多长时间?我们说的是即时的,还是超过您的
60000
?如果您在构建机器上手动使用doa
git pull
,需要多长时间才能工作?这取决于。如果它是“最新的”,则需要几秒钟,目前就是这样。下载所有文件可能需要一分钟以上,可能需要5分钟。@Pondidum我试图增加超时属性,用更多信息编辑了问题。如果运行
ccnet.exe
而不是
ccnet.service.exe
,您应该会看到控制台输出。您可能还需要将
ccnet.exe.config
中的日志记录级别更改为
Debug
。好的,我刚刚通过将帐户上的服务日志更改为使用GIT扩展记录到GIT时使用的日志记录级别来修复它。不幸的是,我不知道这个控制台:(