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&amp;server=local&amp;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&amp;lr=&amp;q=%22CruiseControl.NET%22&amp;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.


Reply via email to