Hi,

I am configuring jenkins job to checkout code from CVS using cvs-plugin.
But, It is looking for private key locations. I can generate private key on 
my computer. But, I don't have control on CVS server. So, I cant store 
public key in server.
So, Please let me know how we can checkout code from CVS just by using user 
credentials. I mean is it possible to skip SSH authentication?

log message:

*17:14:58* Building in workspace 
C:\Users\AB54631\.jenkins\workspace\Test_Sonar_Jenkins*17:14:58* Using locally 
configured password for connection to 
:ext:ab54...@lxdenvmap290.qintra.com:/opt/scm/cvs/home/repository*17:14:59* cvs 
checkout -P -D 29 Aug 2017 17:14:58 +0530 -d qoaordering qoaordering *17:14:59* 
ERROR: CVS Authentication failed: null*17:14:59* 
org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection 
failed.*17:14:59*  at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)*17:14:59*
   at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)*17:14:59*   at 
java.lang.Thread.run(Thread.java:745)*17:14:59* Caused by: 
com.jcraft.jsch.JSchException: java.io.FileNotFoundException: 
C:\Users\AB54631\.ssh\id_rsa (The system cannot find the path 
specified)*17:14:59*  at 
com.jcraft.jsch.KeyPair.load(KeyPair.java:524)*17:14:59*     at 
com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)*17:14:59*     at 
com.jcraft.jsch.JSch.addIdentity(JSch.java:389)*17:14:59*    at 
com.jcraft.jsch.JSch.addIdentity(JSch.java:370)*17:14:59*    at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135)*17:14:59*
   ... 2 more*17:14:59* Caused by: java.io.FileNotFoundException: 
C:\Users\AB54631\.ssh\id_rsa (The system cannot find the path 
specified)*17:14:59*       at java.io.FileInputStream.open0(Native 
Method)*17:14:59*       at 
java.io.FileInputStream.open(FileInputStream.java:195)*17:14:59*     at 
java.io.FileInputStream.<init>(FileInputStream.java:138)*17:14:59*   at 
java.io.FileInputStream.<init>(FileInputStream.java:93)*17:14:59*    at 
com.jcraft.jsch.Util.fromFile(Util.java:492)*17:14:59*       at 
com.jcraft.jsch.KeyPair.load(KeyPair.java:521)*17:14:59*     ... 6 
more*17:14:59* ERROR: Cvs task failed*17:14:59* Finished: FAILURE





Thanks in advance,

Ganesh

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c39a5d49-c3de-4e00-919c-d092c09d5804%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to