Unable to connect to CVS for code checkout

39 views
Skip to first unread message

Divya Reddy

unread,
Aug 1, 2016, 6:02:36 AM8/1/16
to Jenkins Users
We have desktop Jenkins version to check out the code from cvs repository.

below is the command we use:

:extssh:user@hostName:portNumber/PathoftheRepository

This is was working fine over a period of time but all of a sudden am facing below exception.

Building in workspace C:\Users\automation\.jenkins\jobs\Build_sahi\workspace
cvs checkout -P -D 01 Aug 2016 15:05:56 +0530 -d OnDemandKeyword OnDemandKeyword 
ERROR: CVS Authentication failed: null
org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.
	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
	at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.ConnectException: Connection timed out: connect
	at com.jcraft.jsch.Session.connect(Session.java:525)
	at com.jcraft.jsch.Session.connect(Session.java:160)
	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:139)
	... 2 more
ERROR: Cvs task failed
Finished: FAILURE


Am really clue less..
Can any one help me on this?
Message has been deleted

Mrinal Mukherjee

unread,
Aug 1, 2016, 6:13:38 AM8/1/16
to Jenkins Users
The 'java.net.ConnectException' exception usually means something is wrong at the network end.

Do you think the SSH connection is getting blocked? A firewall rule may be blocking it perhaps?

Divya Reddy

unread,
Aug 1, 2016, 8:10:12 AM8/1/16
to Jenkins Users
Hi Mrinal,

Thanks for replying!

The issue is at our network end.

Thanks.
Reply all
Reply to author
Forward
0 new messages