Jenkin+CVS : com.jcraft.jsch.JSchException: Auth cancel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkin+CVS : com.jcraft.jsch.JSchException: Auth cancel

Ganesh MN
Hi All,

I am new to Jenkins. I have to checkout out code from CVS.
So, I generated private/public key using "ssh-keygen -t rsa" command. it has generated  id_rsa and id_rsa.pub files. pointed private key path to this id_rsa file.
But when I run job I am getting following error message. Even I converted id_rsa file to id_rsa.ppk using puttygen. But, No use.


08:17:50 ERROR: CVS Authentication failed: null
08:17:50 org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.
08:17:50 	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
08:17:50 	at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
08:17:50 	at java.lang.Thread.run(Thread.java:748)
08:17:50 Caused by: com.jcraft.jsch.JSchException: Auth cancel
08:17:50 	at com.jcraft.jsch.Session.connect(Session.java:511)
08:17:50 	at com.jcraft.jsch.Session.connect(Session.java:183)
08:17:50 	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:139)
08:17:50 	... 2 more
08:17:50 ERROR: Cvs task failed


Jenkins version : 2.74
CVS plugin      :  2.13

please help me to get it resolved.

Thanks in advance,
Ganesha

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f4e6ce8a-f0af-488e-9f63-028e2c50ced0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.