Failing Tasks : Git: CheckForModifications

442 views
Skip to first unread message

Bradley Rosen

unread,
Aug 5, 2011, 12:39:27 PM8/5/11
to ccnet-user
To whom it may concern

Im having issues setting up cruise control on a new machine. We have
an existing machine with ccnet setup, and the project configuration
works fine, so im not sure what im missing. One of the things i
modified, was to change the ssh key being used so that no passphrase
is needed in case it is hanging due to waiting for input. Not sure
what else needs to be set.



CCnet version 1.5.7256.1
Source control git
Error message:

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)

project section in ccnet.config:

<project name="test 1">
<sourcecontrol type="git">
<repository>g...@github.com:company/test.git</repository>
<branch>newProjectTest</branch>
<autoGetSource>true</autoGetSource>
<executable>C:\progra~2\git\bin\git.exe</executable>
<workingDirectory>C:\newProjectTest</workingDirectory>
<commitBuildModifications>false</commitBuildModifications>
<commitUntrackedFiles>false</commitUntrackedFiles>
</sourcecontrol>
</project>


Thanks
Brad

Daniel Nauck

unread,
Aug 5, 2011, 1:12:22 PM8/5/11
to ccnet...@googlegroups.com
Hello,

try to login as the user the ccnet service runs on your server and make a test clone.
Its most times a missing "accept of the fingerprint/pubkey from github" or there is sth. wrong with your ssh key, etc.

Daniel

Reply all
Reply to author
Forward
0 new messages