Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Re: Need help configuring Hudson for SSL with Git/Gerrit
Re: Need help configuring Hudson for SSL with Git/Gerrit [message #1288890] Tue, 08 April 2014 23:38 Go to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 04/08/2014 12:32 PM, Bill Spens wrote:
> I've installed Hudson on a server running Oracle Linux and followed the
> Redhat section of the Hudson Book. I've fired up the Hudson service,
> created an empty build configuration and it runs just fine (of course it
> isn't doing anything).
> Now I'm trying to check out files from Git. I created a new job.
> Specified Git for source code management and provided this URL:
> ssh://builduser@GERRITSERVER:29418/installer/com.mycompany.installer
> When I run the job, it fails. The key parts of the error message seems
> to be this part: returned status code 128: Permission denied
> (publickey). fatal: The remote end hung up unexpectedly
> I logged in to the console, and I got this command working so I think
> everything on the gerrit server is set up correctly:
> git clone
> ssh://builduser@GERRITSERVER:29418/installer/com.mycompany.installer
> However, I'm logged in as root and the .ssh folder is under /root/.ssh
> It is my understanding that hudson runs under a user named 'hudson'. So
> where to I put the .ssh directory for hudson? I can't seem to log in as
> user 'hudson' and there is no /home/hudson directory, so I'm a bit stuck
> on what to do next. Also, can I copy the .ssh directory from root or do
> the keys for the hudson user have to be generated under the hudson
> account? If yes, I'm not sure how to do that since I can't log in as
> hudson.
> I should point out that I'm not trying to code review builds with Gerrit
> yet. I'm just trying to do a build on the git part of gerrit that holds
> all the approved check-ins.
> Thanks for any help or links you can suggest.
> Bill

There's a Hudson forum, but just in case it's helpful, I have a lot of
experience with Jenkins. I know that you don't have to sort out SSL
issues because there's a Jenkins plug-in (well, a couple in fact) for
Git use that solves all of that for you. Likely, those plug-ins work for
Hudson or Hudson offers some of its own.

Best of luck.
Re: Need help configuring Hudson for SSL with Git/Gerrit [message #1289051 is a reply to message #1288890] Wed, 09 April 2014 02:52 Go to previous message
Bill Spens is currently offline Bill SpensFriend
Messages: 2
Registered: April 2014
Junior Member
I'll give that a try. I didn't install the Gerrit plugins yet because I was just trying to get a normal build to run and I thought the plugins were targeted at the "code review" builds.

Thanks for the suggestion.

Previous Topic:postExecuteSuccess fires when saveAs is cancelled
Next Topic:Multiple Windows at Eclipse Startup
Goto Forum:

Current Time: Wed Oct 21 11:37:58 GMT 2020

Powered by FUDForum. Page generated in 0.02754 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top