> I have posted this on hudson users
>
http://www.nabble.com/SVN-hudson-integration:-Problem-using-external-ssh-client-td22357322.html> mailing list as well, but i was wondering if you guys would be able to
> help.
I lost my nabble password, could you please forward the following to the
mailing list:
There are basically three reasons for tunnels not working with Hudson:
1) Hudson uses its own configuration file that you didn't find yet.
2) Hudson doesn't use configuration files and provides its own
implementation of ISVNOptions interface which doesn't support tunnels.
3) When instantiating SVNRepository objects Hudson code does not
configure created object with "tunnel provider", for instance:
SVNRepository repos = SVNRepositoryFactory.create(url);
ISVNOptions options = SVNWCUtil.createDefaultOptions(true);
repos.setTunnelProvider(options);
...
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
zenMonkey wrote:
> Hi,
>
> It turns out I was modifying a different config file (cygwin suversion).
> After I modified the correct config file and used absolute path, I was able
> to use SVNKit in eclipse.
>
> However I see the same error (i.e. "FAILED: svn: Cannot find tunnel
> specification for 'sshk' ) when I try it with Hudson. Hudson uses SVNKit
> library (svnkit-1.2.1-hudson-2.jar)...I am not sure why SVNKit library in
> eclipse is able to see the new tunnel specification but not the one that
> comes packaged with hudson.
>
> I have posted this on hudson users
>
http://www.nabble.com/SVN-hudson-integration:-Problem-using-external-ssh-client-td22357322.html> mailing list as well, but i was wondering if you guys would be able to
> help.
>
> Thanks
>
>
>
>
> Alexander Sinyushkin wrote:
>> Hi,
>>
>> Unfortunately, currently SVNKit can not resolve environment variables
>> specified in the scheme definitions of the config file. Try using the
>> absolute path instead of the environment variable in the config file.
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>>
http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> zenMonkey wrote:
>>> Hi,
>>>
>>> Thanks for your help.
>>>
>>> This is what I did:
>>>
>>> - I created "sshk" entry in subversion config file like this "sshk =
>>> $SVN_SSH". SVN_SSH is defined as an environment variable on my windows
>>> box
>>> as "C:\\CMSrcAccess\\bin\\plink.exe"
>>>
>>> - When to try to setup svn authentication on Hudson (which uses SVNKit),
>>> i
>>> get this message "Cannot find tunnel specification for 'sshk' ". Even
>>> eclipse configured with "SVNKit" spits out "svn: Undefined tunnel scheme
>>> 'sshk' ".
>>>
>>> Am I missing something basic here?
>>>
>>>
>>>
>>>
>>> Alexander Kitaev-3 wrote:
>>>> Hello,
>>>>
>>>>> I understand SVNKit uses an internal ssh client but i was wondering if
>>>>> one
>>>>> can specify (through property file for instance) an external ssh
>>>>> client?
>>>> It is possible with SVNKit. One way to do that is to specify tunnel
>>>> definition in Subversion configuration file, but use name other than
>>>> "ssh" (e.g. "sshk"), then with SVNKit and native Subversion client
>>>> you'll be able to use URLs like:
>>>>
>>>> svn+sshk://host/path
>>>>
>>>> and both SVNKit and native Subversion client will launch SSH client
>>>> specified in tunnel definition in the configuration file.
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>>
http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> zenMonkey wrote:
>>>>> I understand SVNKit uses an internal ssh client but i was wondering if
>>>>> one
>>>>> can specify (through property file for instance) an external ssh
>>>>> client?
>>>>>
>>>>> This would be very useful in my situation because at my company our ssh
>>>>> client authenticates with the svn server using kerberos rather than
>>>>> private
>>>>> keys.
>>>>>
>>>>> If this is not possible out of the box, how much of an effort it would
>>>>> be
>>>>> to
>>>>> patch SVNkit library to do this?
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
>>>> For additional commands, e-mail:
svnkit-users-help@...
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
>> For additional commands, e-mail:
svnkit-users-help@...
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
For additional commands, e-mail:
svnkit-users-help@...