我一直在疯狂地尝试Visual SVN和巡航控制工作,并且正在快速地变得无处不在。
我遇到的最新错误是“无效的证书,而不是来自受信任的站点”,因为Visual SVN使用https。
当然,这是一个假的SSL证书,因为我现在还没有一个真正的SSL证书。
有没有办法让我永久接受证书? 如果是的话如何?
另外,这里是我的ccnet.config文件,以防万一你注意到我缺less的东西:
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <project name="Test"> <sourcecontrol type="svn"> <trunkUrl>https://ws15wdet:8443/svn/Project/trunk</trunkUrl> <workingDirectory>C:\Program Files (x86)\CruiseControl.NET\server\PROJECT\WorkingDirectory </workingDirectory> <executable>C:\Program Files (x86)\VisualSVN Server\bin\svn.exe</executable> <username>user</username> <password>password:)</password> </sourcecontrol> <triggers> <intervalTrigger name="Subversion" seconds="600" /> </triggers> <tasks> <!-- Configure MSBuild to compile the updated files -->c:\ <msbuild> <executable>C:\windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe</executable> <workingDirectory>C:\50MBuilds\builds</workingDirectory> <projectFile>Project.sln</projectFile> <buildArgs>/noconsolelogger /p:Configuration=Debug</buildArgs> <targets></targets> <timeout>15</timeout> <logger>ThoughtWorks.CruiseControl.MsBuild.XmlLogger,C:\Program Files\CruiseControl.NET\webdashboard\bin\ThoughtWorks.CruiseControl.Core.dll</logger> </msbuild> </tasks> <!--Publishers will be done after the build has completed--> <publishers> <xmllogger> <logDir>C:\50MBuilds\Logs</logDir> </xmllogger> </publishers> <modificationDelaySeconds>10</modificationDelaySeconds> </project> </cruisecontrol>
与运行ccnet时使用相同的Windows用户build立svn连接,然后select存储证书的选项。 这样可以将证书保存在用户可以随时访问的地方。 启动ccnet时,应该find证书。