If it was a github server, you would need the username in the credentials
to be `git` and not `jenkins` because GitHub only accepts SSH connections
with the username `git`. I wonder if something similar is happening with
gitlab?

On 25 October 2017 at 03:59, Mark Waite <[email protected]> wrote:

> You may need to look more carefully at the configuration of the
> multibranch pipeline job.  If it is using a username/password credential,
> then either the credential named "jenkins" in your configuration is not a
> private key (which it seems to be to me) or there is a location in the job
> which defines an https URL to the repository.
>
> On Wed, Oct 25, 2017 at 4:45 AM Samuel Mutel <[email protected]>
> wrote:
>
>> I tried also to "enter directly" the private key but it does not work.
>> Something curious ... When I parse the log file of the SSH server located
>> on the GITLAB server, I see error message related to a connection with
>> login/password and not related to a connection with ssh key.
>> It's mean that the job is not using ssh key at all.
>>
>> --
>> 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].
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/jenkinsci-users/dcc7d24b-7cc5-49e7-9787-
>> dacdc69843cc%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/dcc7d24b-7cc5-49e7-9787-dacdc69843cc%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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/CAO49JtEWHEKGn%3Da3%2BGuYZ2MLG8%
> 3D38XzA19GqoTjkJuoYdvc%2BKw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEWHEKGn%3Da3%2BGuYZ2MLG8%3D38XzA19GqoTjkJuoYdvc%2BKw%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMw_7%2BYdSNKSG7nU9h39NiDehD0grzWw207dtv3GPzr6Ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to