原因:
SVN访问采用https配置,用ip访问时https无法显示,需要认证
解决:
禅道中访问svn源码时修改为服务器主机名,不用ip直接访问即可
修改:
zentaopms\module\svn\ext\config\config.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$config->svn = new stdClass(); $config->svn->encodings = 'utf-8'; $config->svn->client = '"C:\Program Files (x86)\Subversion\bin\svn.exe"';//D:\Program Files\VisualSVN Server\bin\svn.exe $i = 1; $config->svn->repos[$i]['path'] = 'https://WIN-O638264HJTH:8015/svn/server/trunk/'; $config->svn->repos[$i]['username'] = 'admin'; $config->svn->repos[$i]['password'] = 'admin'; $i ++; $config->svn->repos[$i]['path'] = 'https://WIN-O638264HJTH:8015/svn/android/trunk/'; $config->svn->repos[$i]['username'] = 'admin'; $config->svn->repos[$i]['password'] = 'admin'; $i ++; $config->svn->repos[$i]['path'] = 'https://WIN-O638264HJTH:8015/svn/iphone/trunk/'; $config->svn->repos[$i]['username'] = 'admin'; $config->svn->repos[$i]['password'] = 'admin'; |