This may seem silly but did you stop and start the service? Also did you ensure that cc net service was running as the same user you thought it was?
What I did when I set it all up, was run the service under the same domain account as myself, and built from there. I also ensured it was the correct user by having the build execute a command that echoed the username out into a file, for inspection. Let me know if this helps. send from my auttocorrect. what happens is what gappwns. On Jun 19, 2013 4:06 AM, "manoj singh" < [email protected]> wrote: > I am trying to integrate Automated build process using Cruisecontrol.net > latest version using the source control as "SVN". While running the > CruiseControl build I am getting below error. > > "ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control > operation failed: svn: E175002: Unable to connect to a repository at URL ' > https://abc01.test.co.in:1234/svn/test/trunk/Myapp' > > svn: E175002: OPTIONS of > 'https://abc01.test.co.in:1234/svn/test/trunk/Myapp': Server certificate > verification failed: certificate issued for a different hostname, issuer > is not trusted (https://abc01.test.co.in:1234) > . Process command: svn log > "https://abc01.test.co.in:1234/svn/test/trunk/Myapp/My Test Application" -r > "{2013-06-18T11:39:13Z}:{2013-06-18T11:41:24Z}" --verbose --xml --username > test_user -- password ******** --no-auth-cache --non-interactive > at > ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo > processInfo) > at > ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(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)" > > > > My Config file looks like, > > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > <!-- This is your CruiseControl.NET Server Configuration file. Add your > projects below! --> > > <project> > <name>My Test App</name> > <webURL>http://localhost/ccnet-dashboard/?_action_ViewProjectReport=true&server=local&project=My > > <http://localhost/ccnet-dashboard/?_action_ViewProjectReport=true&server=local&project=My> > Test App</webURL> > <triggers> > <intervalTrigger seconds="120"/> > </triggers> > <workingDirectory>D:\Repository\Myapp</workingDirectory> > <modificationDelaySeconds>2</modificationDelaySeconds> > > <sourcecontrol type="svn"> > <trunkUrl>https://abc01.test.co.in:1234/svn/test/trunk/Myapp</trunkUrl> > <workingDirectory>D:\Repository\Myapp</workingDirectory> > <username>test_user</username> > <password>userabc</password> > </sourcecontrol> > <tasks> > <msbuild> > > <executable>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable> > <workingDirectory>D:\Repository\Myapp</workingDirectory> > <projectFile>SampleApp.sln</projectFile> > <targets>ReBuild</targets > > <timeout>600</timeout > > <logger>c:\Program > Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll</logger > > </msbuild> > </tasks> > <publishers> > <merge> > <files> > <file>D:\CruiseControlBuildArtifact\build\*-results.xml</file> > <file>D:\CruiseControlBuildArtifact\build\fxcop\*.xml</file> > > <file>D:\CruiseControlBuildArtifact\build\unittests\Coverage.xml</file> > </files> > </merge> > <xmllogger /> > <statistics /> > </publishers> > <externalLinks> > <externalLink name="IIS Root Web on Localhost" url="http://localhost/" /> > <externalLink name="Google" > url="http://www.google.com/search?hl=en&lr=&q=%22CruiseControl.NET%22&btnG=Search > > <http://www.google.com/search?hl=en&lr=&q=%22CruiseControl.NET%22&btnG=Search>" > /> > </externalLinks> > </project> > </cruisecontrol> > > > > > I went to the svn site in a browswer(ID,FireFox etc) and accepted the > certificate, I accessed the repository via svn command line and permanently > accepted the certificate, I deleted the repository and created a new > checkout with TortoiseSVN (which didn't even ask me to accept the > certificate since I had done so before) and many, many more. By all clues > it looked like it should have been working fine. If I ran the same command > line statements manually that CC.NET was running then it worked well - no > error - no issue. But it just wouldn't work when the CC.NET windows > service ran the script. > > I have changed the user id / pwd(same as svn user id/pwd) for the user > under which the CruiseControl.NET service was running, but so success. > > Let me know how to resolve this issue. > > Regards, > > -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
