scenario: I installed msysGit-fullinstall-1.7.3.1-preview20101002 and CruiseControl.Net 1.6. I also use vs2010 for Windows 7.
The cc.net configuration file is as follows:
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <project name="TestCC.net"> <sourcecontrol type="git"> <repository>D:\testcc2\</repository> <autoGetSource>true</autoGetSource> <timeout>680</timeout> <executable>D:\Software\GIT\msysgit\cmd\git.cmd</executable> <workingDirectory>D:\testCC.net\</workingDirectory> </sourcecontrol> <triggers> <intervalTrigger seconds="1200" /> </triggers> <tasks> <msbuild> <executable>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable> <workingDirectory>D:\testCC.net</workingDirectory> <projectFile>firsttest.sln</projectFile> <buildArgs>/p:Configuration=Debug /v:diag</buildArgs> <targets>Clean;Build</targets> <timeout>480</timeout> <logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> <nunit path="C:\Program Files\NUnit 2.5.10\bin\net-2.0\nunit-console.exe"> <assemblies> <assembly>D:\testCC.net\TestSuit\bin\Debug\TestSuit.dll</assembly> </assemblies> </nunit> </tasks> <publishers> <xmllogger /> <statistics /> </publishers> </project>
abvoiusly D: \ testCC.net \ is the working directory, and D: \ testcc2 \ is the Git open repository directory.
the problem is that I am creating a folder D: \ testCC.net \ (emotional). then run cc.net to start the process using the web panel. it creates a .git directory, but gets this error:
ThoughtWorks.CruiseControl.Core.CruiseControlException: The version control operation has completed.
I recheck everything, but there is a mistake. after some attempts, it checks the files (files created in D: \ testCC.net), but the error reappears.
I opened the solution once, built it and closed it. now everything is fine, and a message appeared about the creation of a green connection cc.net.
Why is this happening? is this a problem from cc.net? or my config?
source share