Hi Davide Fanciola / ALL,

I am new to GitLab and Jenkins, and I am trying to make GitLab (Free 
Edition) communicate with Jenkins by following the steps that Davide 
Fanciola gave John below.

However, I keep getting stuck on Step # 3 -- *Configure a Jenkins job 
pointing to a gitlab repo*.

I successfully created a Test-Project with a Readme file (no contents) in 
GitLab as an Administrator.

However, when I enter the *Repository URL* (
*git@localhost:root/Test-Project.git*) in Jenkins, I keep getting the error 
below:


Failed to connect to repository : Command "git ls-remote -h 
git@localhost:root/Test-Project.git HEAD" returned status code 128:
stdout: 
stderr: Host key verification failed. 
fatal: The remote end hung up unexpectedly


I am still troubleshooting the error though.

Do you have explicit instructions on how to proceed from Step # 3 
onwards?   OR,

Does anyone have explicit instructions on how to make GitLab (Free Edition) 
communicate with Jenkins in general?

I would greatly appreciate a prompt response.

Thanks a lot.



On Tuesday, July 23, 2013 at 9:12:49 AM UTC-4, Davide Fanciola wrote:
>
> Hi John,
>
> we have just integrated Gitlab 5.3 and Jenkins with the following steps :
>
> - Install the Gitlab Plugin on Jenkins
> - Generate SSH keys for your Jenkins user
> - Configure a Jenkins job pointing to a gitlab repo
> - Import Jenkin's SSH public keys in Gitlab ( your profile or a dedicated 
> profile)
> - Add a Web Hook to your project pointing to "
> http://jenkins-url/gitlab/build_now";
>
> The documentation of the Jenkins plugin for Gitlab is very helpful to help 
> you setup the environment.
>
> HIH,
> Cheers
>
> On Tuesday, July 16, 2013 9:41:01 AM UTC+2, [email protected] 
> wrote:
>>
>> Hi All,
>>
>> I'd like to connect my 5.1 Gitlab to Jenkins, so that I can do Continuous 
>> Integration. I have searched for a kind of recipe how this could be done, 
>> but no success.
>>
>> Has anybody (preferably who has such a kind of setup) such a recipe, or 
>> give me some pointers to valuable info regarding this topic, both for the 
>> Gitlab and the Jenkins side ?
>>
>> Thanks in Advance,
>>
>> -John
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" 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/gitlabhq/ebe1e12a-4967-487f-900b-e0b88ef4d2d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to