[CC.Net with Git] Source control operation has timed out when execute "git clone"

448 views
Skip to first unread message

张海良

unread,
May 27, 2014, 7:12:32 AM5/27/14
to ccnet...@googlegroups.com
it works fine when i execute the same command in console.
"git clone g...@github.com:XXXX/YYYY.git D:\CCNetDemo\GitWorkSpace"  

is there anyone can help me? 



CC.NET ConfigFile
<sourcecontrol type="git" > 
<repository>g...@github.com:XXXX/YYYY.git</repository> <autoGetSource>true</autoGetSource> 
<executable>git</executable> <workingDirectory>D:\CCNetDemo\GitWorkSpace</workingDirectory>
</sourcecontrol>


http://CC.NET Project Status
Project Status for MyFirstProject
Description demoproject showing a small config
Last Build Status Success
Last Build Label 22
CCNet Status Running
Activity CheckingModifications
2014-05-27 18:22:25 git clone g...@github.com:XXXX/YYYY.git D:\CCNetDemo\GitWorkSpace


http://CC.NET BUILD EXCEPTION
Error Message: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation has timed out.
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.GitClone(IIntegrationResult result)
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.CreateUpateLocalRepository(IIntegrationResult result)
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.Git.GetModifications(IIntegrationResult from, IIntegrationResult to)
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to)
在 ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
在 ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
在 ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
Project: MyFirstProject
Date of build: 2014-05-27 18:22:25
Running time: 00:10:01
Integration Request: Build (IfModificationExists) triggered from continuous





Ruben Willems

unread,
May 27, 2014, 7:33:24 AM5/27/14
to ccnet...@googlegroups.com
Hi

which version of CCNet are you using?
I just released 1.8.5 yesterday, and this was one of the things that is fixed :-)

° Git does not fetch entire changeset with a new project
   see setting MaxAmountOfModificationsToFetch in Git (default 100)


you can download it from :
https://sourceforge.net/projects/ccnet/



with kind regards
Ruben Willems


--

---
You received this message because you are subscribed to the Google Groups "ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ccnet-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

张海良

unread,
May 27, 2014, 7:46:25 AM5/27/14
to ccnet...@googlegroups.com
tks for your reply

ccnet  Version : 1.8.4.0
but my project was created several hours ago,it can not has more then 100 changesets
i will try 1.8.5 first~


在 2014年5月27日星期二UTC+8下午7时33分24秒,Ruben Willems写道:

张海良

unread,
May 27, 2014, 8:16:08 AM5/27/14
to ccnet...@googlegroups.com
i have installed 1.8.5,but my problem still not fixed

在 2014年5月27日星期二UTC+8下午7时33分24秒,Ruben Willems写道:

张海良

unread,
May 27, 2014, 8:39:27 AM5/27/14
to ccnet...@googlegroups.com
my problem has been solved

i change the account which CC.Net Service use.
so "git clone" can use sshConfigFile in C:\Users\XXXX\.ssh\



在 2014年5月27日星期二UTC+8下午7时33分24秒,Ruben Willems写道:
Reply all
Reply to author
Forward
0 new messages