Subversion authentication on non standard port.

390 views
Skip to first unread message

David Brown

unread,
Sep 15, 2013, 8:09:44 PM9/15/13
to jenkin...@googlegroups.com
I'm trying to configure Jenkins to connect to our svn server which is running on a non standard port but I'm getting an error so wondering if anyone can help point out what I'm missing.   I'm running Jenkins on a mac under my account (not root) and can successfully issue a svn info command line call to my repo.

bash-3.2$ svn info svn+ssh://code.myco.com/environments/trunk/

Path: environment-builds
URL: svn+ssh://code. myco.com/environments/trunk/
Repository Root: svn+ssh://code. myco.com/environments


My $HOME/subversion config includes a tunnel update but Jenkins or the svnkit is not honoring it


bash-3.2$ cat ./subversion/config | grep -v \#

[auth]

[helpers]

[tunnels]
ssh = /usr/bin/ssh -p 123

[miscellany]

[auto-props]
--

When I attempt to define the credentials for a job which checks out from this repo I get the following error.  

Passing user name testuser and password you entered to SSH
FAILED: svn: E210002: There was a problem while connecting to code.myco.com:22


Any suggestions would be greatly appreciated!!
Thanks,
/david

Richard Lavoie

unread,
Sep 15, 2013, 8:15:26 PM9/15/13
to jenkin...@googlegroups.com
Have you tried putting the port in the url ?


Dunno if it would work, but worth a try.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Brown

unread,
Sep 15, 2013, 11:30:20 PM9/15/13
to jenkin...@googlegroups.com
Oh my gosh!  I can't believe I didn't try that. It worked!!  Subversion command doesn't accept a port in a url, you need to specific it as a tunnel parm in the subversion config file, but I guess the svnkit or the jenkins svn plug-in is much more user friendly to accept parsing.

Thanks!!
/david
Reply all
Reply to author
Forward
0 new messages