[JIRA] (JENKINS-60143) Behavior SSH Checkout not working after Jenkins restart

13 views
Skip to first unread message

lmichenaud@gmail.com (JIRA)

unread,
Nov 12, 2019, 7:39:02 AM11/12/19
to jenkinsc...@googlegroups.com
Laurent Michenaud created an issue
 
Jenkins / Bug JENKINS-60143
Behavior SSH Checkout not working after Jenkins restart
Issue Type: Bug Bug
Assignee: Parichay Barpanda
Components: gitlab-branch-source-plugin
Created: 2019-11-12 12:38
Environment: Jenkins 2.187 on centos
Priority: Minor Minor
Reporter: Laurent Michenaud

Hi,

By default, the projects are checkout using http protocol. We have added the behavior SSH checkout and it works well. But after a jenkins restart, the checkout is done using http protocol again. We have to open the configuration page and click save to enable again the checkout with SSH.

Your plugin is really great, you have done an amazing job, congrats.

Best regards

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

lx89757@126.com (JIRA)

unread,
Dec 12, 2019, 1:49:02 AM12/12/19
to jenkinsc...@googlegroups.com

alvizu@gmail.com (JIRA)

unread,
Jan 3, 2020, 12:41:02 PM1/3/20
to jenkinsc...@googlegroups.com

vincent.letarouilly@gmail.com (JIRA)

unread,
Mar 20, 2020, 10:32:02 AM3/20/20
to jenkinsc...@googlegroups.com

Hi, first of all: thanks for this awesome plugin !

Unfortunately I ran into the same problem.

Jenkins version 2.226
Gitlab branch source plugin version 1.4.4

I found two workarounds:

  • Save the configuration manually again (as Laurent Michenaud mentioned in the description)
  • Triggered one of the branch by webhook

Parichay Barpanda maybe this should be updated to Major priority ?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

parichay.barpanda@gmail.com (JIRA)

unread,
Mar 25, 2020, 6:54:02 PM3/25/20
to jenkinsc...@googlegroups.com

Hi, I am looking into this issue but I had this question can you use ssh credentials instead of checkout over SSH trait. Just do not enable checkout over SSH and refer to https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/master/README.md#multibranch-pipeline-jobs and a SSH key to Jenkins credentials and select it as checkout credentials instead. Please let me know if that solves your issue? 

parichay.barpanda@gmail.com (JIRA)

unread,
Mar 25, 2020, 6:55:03 PM3/25/20
to jenkinsc...@googlegroups.com
Parichay Barpanda edited a comment on Bug JENKINS-60143
Hi, I am looking into this issue but I had this question can you use ssh credentials instead of checkout over SSH trait. Just do not enable checkout over SSH and refer to [https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/master/README.md#multibranch-pipeline-jobs] and add a SSH key to Jenkins credentials and select it as checkout credentials instead. Please let me know if that solves your issue? 
Reply all
Reply to author
Forward
0 new messages