On 27 February 2012 15:24, Charles <charles.e.bro...@gmail.com> wrote:
> 1) no passphrase > 2) from the plugin > 3) corrected typo, same result > > On Feb 27, 9:10 am, <matthew.web...@diamond.ac.uk> wrote: > > Some ideas: > > (1) Does Jenkin's public key have a passphrase? > > (2) Is the --progress option on the clone command come from you, or the > Jenkins Git plugin? Will that work in a headless environment? > > (3) Is the spelling really "hub-applcation" rather than > "hub-application"? > > Matthew > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] On Behalf Of Charles > > > Sent: 27 February 2012 14:58 > > > To: Jenkins Users > > > Subject: Git+Gitolite+Jenkins > > > > > I have git+gitolite and Jenkins installed on a CentOS Server... > > > > > I've installed Jenkins as a service, created the public key for the > > > Jenkins user and added to the gitolite authorized users for all my > > > repos... Build consistently fails for the following reasons.... > > > > > I've gone as far as logging in as the jenkins user and cloning a repo > > > without issues > > > > > Global git config: /usr/bin/git > > > project git repo config: ssh://git@myGitServer > /repositories/hub-applcation.git > > > > > Exception: > > > Building in workspace /var/lib/jenkins/jobs/HUB Application/workspace > > > Checkout:workspace / /var/lib/jenkins/jobs/HUB Application/workspace - > > > hudson.remoting.LocalChannel@4e9922e > > > Using strategy: Default > > > Checkout:workspace / /var/lib/jenkins/jobs/HUB Application/workspace - > > > hudson.remoting.LocalChannel@4e9922e > > > Cloning the remote Git repository > > > Cloning repository origin > > > ERROR: Error cloning remote repo 'origin' : Could not clone > > > ssh://myGitServer/repositories/hub-applcation.git > > > hudson.plugins.git.GitException: Could not clone > > > ssh://git@myGitServer/repositories/hub-applcation.git > > > at hudson.plugins.git.GitAPI.clone(GitAPI.java:245) > > > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1029) > > > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970) > > > at hudson.FilePath.act(FilePath.java:788) > > > at hudson.FilePath.act(FilePath.java:770) > > > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970) > > > at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) > > > at hudson.model.AbstractBuild > > > $AbstractRunner.checkout(AbstractBuild.java:576) > > > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: > > > 465) > > > at hudson.model.Run.run(Run.java:1409) > > > at > hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) > > > at hudson.model.ResourceController.execute(ResourceController.java: > > > 88) > > > at hudson.model.Executor.run(Executor.java:238) > > > Caused by: hudson.plugins.git.GitException: Error performing command: / > > > usr/bin/git clone --progress -o origin ssh://git@myGitServer > /repositories/hub-applcation.git > > > /var/lib/jenkins/jobs/HUB Application/workspace > > > Command "/usr/bin/git clone --progress -o origin > > > ssh://git@myGitServer/repositories/hub-applcation.git > /var/lib/jenkins/ > > > jobs/HUB Application/workspace" returned status code 128: Cloning into > > > '/var/lib/jenkins/jobs/HUB Application/workspace'... > > > R access for repositories/hub-applcation DENIED to jenkins > > > (Or there may be no repository at the given path. Did you spell it > > > correctly?) > > > fatal: The remote end hung up unexpectedly > > > > -- > > This e-mail and any attachments may contain confidential, copyright and > or privileged material, and are for the use of the intended addressee only. > If you are not the intended addressee or an authorised recipient of the > addressee please notify us of receipt by returning the e-mail and do not > use, copy, retain, distribute or disclose the information in or attached to > the e-mail. > > Any opinions expressed within this e-mail are those of the individual > and not necessarily of Diamond Light Source Ltd. > > Diamond Light Source Ltd. cannot guarantee that this e-mail or any > attachments are free from viruses and we cannot accept liability for any > damage which you may sustain as a result of software viruses which may be > transmitted in or with the message. > > Diamond Light Source Limited (company no. 4375679). Registered in > England and Wales with its registered office at Diamond House, Harwell > Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > Have you got ssh key access set up? -- Danny Staple Director, ODM Solutions Ltd w: http://www.odmsolutions.co.uk Blog: http://orionrobots.co.uk/blog1-Danny-Staple