right, ls-remote is used to validate repository URL (form master) and to poll scm (single branch)
2013/3/7 Eduardo Dias <[email protected]> > I had the same problem and done what Nicolas suggested and the > message stopped. Even Jenkins does not use master to build the jenkis > master try to access repository. > > > 2013/3/7 nicolas de loof <[email protected]> > >> does the clone run on master or some slave ? >> >> this "ls-remote" command is executed on master, maybe you just miss the >> adequate ssh key there. Long term plan is to integrate >> ssh-credentials-plugin in git-plugin to manage this. >> >> >> 2013/3/7 Jeff <[email protected]> >> >>> I thought I asked this and fixed it before, but it has come up again and >>> I am not seeing this in the archives.... >>> >>> When we setup a job that pulls source from GIT, I see this error shown >>> below the "Repository URL" box: >>> >>> >>> Failed to connect to repository : Error performing command: ls-remote >>> -h [email protected]:myRepo/myApp.git HEAD >>> >>> or for projects using our internal GitoLIte repo: >>> >>> >>> Failed to connect to repository : Error performing command: ls-remote >>> -h [email protected]:myInternalApp.git HEAD >>> >>> The project "clone"s and builds just fine, but I don't think the SCM >>> Polling works properly and I think it is related to the above issue. >>> >>> Any idea what it might be? Google searches indicate that the absolute >>> path to the git binary must be specified, which I've set (/usr/bin/git). >>> >>> I've set the git user.name/user.email environment values on the job >>> settings. >>> >>> I don't know what else to look at. Thoughts? >>> >>> -- >>> Jeff Vincent >>> See my LinkedIn profile at: >>> http://www.linkedin.com/in/rjeffreyvincent >>> I ♥ DropBox <http://db.tt/9O6LfBX> !! >>> >>> -- >>> 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 [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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 [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > > Atenciosamente, > > Eduardo > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
