提交 e927cae0 编写于 作者: K kohsuke

Parse the Subversion tunnel configuration properly.

    (<a href="http://www.nabble.com/Problem-using-external-ssh-client-td22413572.html">report</a>)    


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16200 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4a02e8d7
......@@ -1349,6 +1349,7 @@ public class SubversionSCM extends SCM implements Serializable {
// 3) if the authentication is successful, svnkit calls back acknowledgeAuthentication
// (so we store the password info here)
repository = SVNRepositoryFactory.create(SVNURL.parseURIDecoded(url));
repository.setTunnelProvider(SVNWCUtil.createDefaultOptions(true));
repository.setAuthenticationManager(new DefaultSVNAuthenticationManager(SVNWCUtil.getDefaultConfigurationDirectory(), true, username, password, keyFile, password) {
Credential cred = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册