Make jenkins checkout using cvs over ssh with given port

26 views
Skip to first unread message

tps800

unread,
May 6, 2015, 4:42:15 PM5/6/15
to jenkins...@googlegroups.com
Hi!

trying to checkout a cvs-repository using transport over ssh with port 2022. If I give it on a command line (/bin/sh):

{
export CVSROOT=anoncvs@XXXXXXXX:/cvs
export CVS_RSH=$HOME/bin/SSH
cvs -q get -P src
}

with { $HOME/bin/SSH }:
{
ssh -p 2022 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $@
}

Will do what I expect: checkout src.

I've tried to use:
{
export CVSROOT=:ssh:anoncvs@XXXXXXXX:2022/cvs
cvs -q get -P src
}

but it does not work at all. Looks like it wants an ssh-key to access.
So here is my question: how do I have to set up jenkins cvs to have the checkout running, using ssh and port 2022?

Thanks in advance for any hint!

-- 
Thomas
Reply all
Reply to author
Forward
0 new messages