Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52364

Checkout over SSH fails when using SYSTEM scoped SSH-credentials

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins 2.129
      github-branch-source-plugin 2.3.6
      Credentials 2.1.17
      SSH-Credential 1.14
    • Similar Issues:

      Description

      After upgrading our Jenkins instance, and above mentioned plugins, the "Checkout over SSH" does not work. Testing on a personal Jenkins, I can see that the Credentials need to have scope "GLOBAL" to show up in the UI, and "work'ish". This does pose an issue, since the SSH-Credentials require the scope to be "SYSTEM" to be able to connect.

      Prior to upgrading the environment was as follows:
      Jenkins 2.122
      github-branch-source-plugin 2.3.4
      Credentials 2.1.16
      SSH-Credential 1.13

        Attachments

          Activity

          Hide
          jnz_topdanmark Jon Brohauge added a comment -

          The attachment Jenkins-Job-Log-Using-SYSTEM-SSH.txt does a checkout via https instead of SSH as it should. Looking at the UI, the "Checkout over SSH -> Credentials" is blank.

          Show
          jnz_topdanmark Jon Brohauge added a comment - The attachment  Jenkins-Job-Log-Using-SYSTEM-SSH.txt does a checkout via https instead of SSH as it should. Looking at the UI, the "Checkout over SSH -> Credentials" is blank.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jnz_topdanmark Jon Brohauge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: