git fetch returns 143 error code

12 views
Skip to first unread message

jaroskrzek

unread,
Jul 10, 2017, 8:18:13 AM7/10/17
to Jenkins Users

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

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

2017-07-10 10_52_11-#19 Console [Jenkins].png
Reply all
Reply to author
Forward
0 new messages