Hi,
After following all the instructions above:

   - Jenkins conf -> CVSROOT = :ext:<PuttySession>: <path>
   - Env var-> CVS_RSH = path to plink.exe
   - Public key copied in the server
   - able to ssh to the server using windows cli and plink without typing 
   the password
   - able to connect to cvs using cli

I'm still getting an error:

cvs checkout -P -r BBB -d workspace XXX 
> ERROR: CVS Authentication failed: 
> nullorg.netbeans.lib.cvsclient.connection.AuthenticationException 
> <http://stacktrace.jenkins-ci.org/search?query=org.netbeans.lib.cvsclient.connection.AuthenticationException>:
>  SSH connection failed.
>       at 
> org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.connection.SSHConnection.open&entity=method>
>       at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) 
> <http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.Client$1.run&entity=method>
>       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 failedFinished 
> <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE
>
>
Any clue?
Thanks in advance!
Regards
Rodri


El jueves, 26 de julio de 2012 04:43:00 UTC-3, Sascha G. escribió:
>
> Hi,
>
> I had the same problem with the SSH connection for a CVS export with 
> Jenkins-CI.
> The solution was to convert the PuTTy-generated SSH .ppk into an OpenSSH 
> file. After that it works great!
>
> Regards,
> Sascha
>
>
> On Wednesday, May 2, 2012 2:41:13 PM UTC+2, Xavier NOPRE wrote:
>>
>> Hi,
>>
>> I've just installed the last version of Jenkins. I have created a first 
>> job for a Maven project. But my problem is with CVS. In Eclipse, my CVS URL 
>> is with ":extssh:" prefix. But with Jenkins, I have this error : "cvs 
>> checkout: Unknown method (`extssh') in CVSROOT.".
>>
>> My server OS is Windows. I have installed cvs.exe in c:\windows. 
>>
>> How can I solve this problem ? Do I have to install some CVS extension 
>> for the extssh support ?
>>
>> Thanks,
>>
>> Xavier
>>
>>

Reply via email to