Here is my build error (it has never worked, I am starting off with jenkins) on my project 'JenkinsCD':
------------------------------- Started by user anonymous <http://interos.saicwebhost.net:8080/user/null> Building in workspace /var/lib/jenkins/jobs/JenkinsCD/workspace cvs checkout -P -D 14 Aug 2015 10:16:44 -0500 -d workspace origin/master 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(Thread.java:745) <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method> Caused by: com.jcraft.jsch.JSchException <http://stacktrace.jenkins-ci.org/search?query=com.jcraft.jsch.JSchException>: java.io.FileNotFoundException: /var/lib/jenkins/.ssh/id_rsa (Permission denied) at com.jcraft.jsch.KeyPair.load(KeyPair.java:524) <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.KeyPair.load&entity=method> at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40) <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.IdentityFile.newInstance&entity=method> at com.jcraft.jsch.JSch.addIdentity(JSch.java:389) <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.JSch.addIdentity&entity=method> at com.jcraft.jsch.JSch.addIdentity(JSch.java:370) <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.JSch.addIdentity&entity=method> at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135) <http://stacktrace.jenkins-ci.org/search/?query=org.netbeans.lib.cvsclient.connection.SSHConnection.open&entity=method> ... 2 more Caused by: java.io.FileNotFoundException <http://stacktrace.jenkins-ci.org/search?query=java.io.FileNotFoundException>: /var/lib/jenkins/.ssh/id_rsa (Permission denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at com.jcraft.jsch.Util.fromFile(Util.java:492) at com.jcraft.jsch.KeyPair.load(KeyPair.java:521) ... 6 more ERROR: Cvs task failedFinished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE ---------------------------- I installed jenkins yesterday and git is already installed (pushing and pulling, version is 1.8.3.1) and I can view jenkins from browser. I am SSH-ing into the server using a username and password and I have created the id_rsa and id_rsa.pub inside of the .ssh folder in var/lib/jenkins/.ssh ; however I required sudo access to create the id_rsa and id_rsa.pub files because I have sudo level but not the specific root account access. Permissions for the two files in .ssh folder are: -rw-------. 1 root root 1675 Aug 13 18:13 id_rsa -rw-r--r--. 1 root root 394 Aug 13 18:13 id_rsa.pub This appears to be typically of these keys but I believe there may be issues with permissions (I mean look at the stack trace from the build error!) and also I have heard things about creating a jenkins user. Also the git repository is hosted on bitbucket but a local clone of the repo exists as well so if anyone has any advice whatsoever or thinks they know what the problem is I would greatly appreciate any help that you can offer, thanks :) -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/6cee415e-e3b9-4da1-a05e-6619c1035ad5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
