Hi,

 

I'm facing the problem with Jenkins Git authentication. I attach a 
screenshot of the stack trace. I have SSH gitlab connection configured with 
a private key and a passphrase. The configuration is made in 
Credentials/System/Global credentials (unrestricted). The path to the 
private key is /home/jenkins/.jenkins/secrets/my_private_key.pub. Owner and 
a group: jenkins:jenkins, where jenkins is the user making the 
installation. Permissions: 600.

The private key has been checked with the passphrase using ssh from the 
command line. The git fetch command used by jenkins has also been checked 
with command line. Both works.

Repository URL format is like 


   -        g...@github.com:org-name/project.git (short notation for ssh 
   protocol)
   
Environment:ยท        


   -      CentOS 7 64 bit
   -         openjdk version "1.8.0_131" 64 bit
   -        Jenkins ver. 2.67
   -         Git client plugin 2.4.6
   -         Git plugin 3.3.0 (3.3.1 is not helping too)
   -         GIT server Plugin 1.7
   -         GitLab Plugin 1.4.5 (1.4.6 is not helping too)
   -         SCM API Plugin 2.1.1
   -         Credentials Plugin 2.1.14
   -        Jenkins is run directly
   -       Jenkins was installed with yum installer
   -        Browser: Google Chrome 59
   -       GitLab Community Edition 9.3.5
   -        git version 1.8.3.1
   
 

Regards,

Jaroslaw Skrzek

Software Engineer

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c8739de4-c0c6-45eb-90e5-0c8f5c77a19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to