Вопрос

I seem to have a strange issues with cruisecontrol.net (ver 1.6.7). My VisualSVN Server port is set to 8443, and this has been working fine.

However the cruisecontrol.net is failing to connect to VisualSVN Server instance.

The following sourcecontrol extract from my ccnet.config is what is failing:

 <sourcecontrol type="svn">
      <authCaching>Always</authCaching>     
      <executable>C:\Program Files\SlikSvn\bin\svn.exe</executable>
      <trunkUrl>https://svn.aaaa.org:8443/svn/wim-web/Year%20Round%20Site/Trunk</trunkUrl>
      <autoGetSource>true</autoGetSource>
      <username>rrrrr</username>
      <password>xxxxx</password>
      <workingDirectory>D:\CCNET\Builds\Web\YearRoundSite</workingDirectory>
 </sourcecontrol>

The error message that I get back refers to https://svn.aaaa.org without the port specified (8443). Without the port specified this goes to a website not a SVN repository and so fails to connect.

Это было полезно?

Решение

Go to the CC.NET machine. Login as the same account(identity) that runs the CC.NET SERVICE. (<

At the commandline..........run a svn.exe list command

svn list https://svn.aaaa.org:8443/svn/wim-web/Year%20Round%20Site/Trunk

(You'll have to find the full path for your svn.exe of course)

(or something like that)

See if you get prompted to accept a certificate. If so, select (p) for permanent.

Now re-try.

I've found you have to command-line accept the certificate before CC.NET-SVN will work.

Другие советы

You don't have to specify the TrunkURL if you specify the working directory. You first have to manually go to your working directory and use SVN to do the initial checkout. Then the SVN that cruise control runs will know how to contact the repository for that working directory.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top