Looks like the permissions on /var/lib/jenkins/.ssh/config are too open, you should chmod 600 that file to make it more secure.
On Tue, Dec 8, 2015 at 9:30 PM Sharon Francis <sharo...@siriusemb.com> wrote: > im getting the following error on building the project: > > Started by user anonymous <http://localhost:8080/user/null> > Building in workspace /var/lib/jenkins/workspace/dhruvTestSuite > > git rev-parse --is-inside-work-tree > Fetching changes from the remote Git repository > > git config remote.origin.url g...@gitlab.xyz.com:xyz/xyz.git > Fetching upstream changes from g...@gitlab.xyz.com:xyz/xyz.git > > git --version > > git fetch --tags --progress g...@gitlab.xyz.com:eagle/xyz.git > +refs/heads/*:refs/remotes/origin/* > FATAL: Failed to fetch from > g...@gitlab.xyz.com:eagle/xyz.githudson.plugins.git.GitException > <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: > Failed to fetch from g...@gitlab.xyz.com:eagle/xyz.git > at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:622) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom&entity=method> > at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:854) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges&entity=method> > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:879) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method> > at hudson.model.AbstractProject.checkout(AbstractProject.java:1276) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method> > at > jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) > <http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1738) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:98) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:410) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Caused by: hudson.plugins.git.GitException > <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: > Command "git fetch --tags --progress g...@gitlab.xyz.com:eagle/xyz.git > +refs/heads/*:refs/remotes/origin/*" returned status code 128: > stdout: > stderr: Bad owner or permissions on /var/lib/jenkins/.ssh/config > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1325) > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1186) > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87) > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:257) > at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:620) > ... 10 more > > > > On Wednesday, 9 December 2015 09:53:01 UTC+5:30, Sharon Francis wrote: >> >> Im getting this error after some updates, not sure how to resolve this >> issue. Pls help. Have attached the screenshot along. >> > -- > 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/861a577a-ecbc-450c-8ae4-e32db80e1537%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/861a577a-ecbc-450c-8ae4-e32db80e1537%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPiUgVcKMf%3DEJ_nDamk96Ywm_Fgy4MpJcf56wCE-tcwi0%2BsN2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.