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

GitHub plugin does not update build status when repository is accessed with a custom SSH configuration entry

      The recommended way to use deployment keys with GitHub is to prepare a special entry in the SSH configuration file, like this:

      Host github-myproject
        User git
        Hostname github.com
        IdentityFile ~/.ssh/id_rsa_deployment_key_for_myproject
      

      The corresponding git URL reads `github-myproject:myorganization/myproject.git`.

      When using this style of configuration, and accordingly specifying the git URL to the GitHub plugin, the GitHub plugin is unable to update the build status on GitHub. If a more explicit configuration is used (specifying user and credential file in the GitHub plugin configuration section for the project), then everything works correctly.

      Issue JENKINS-29827 seems related.

          [JENKINS-31797] GitHub plugin does not update build status when repository is accessed with a custom SSH configuration entry

          Michael Grünewald created issue -
          Michael Grünewald made changes -
          Description Original: The recommended way to use deployment keys with GitHub is to prepare a special entry in the configuration file, like this:

          {noformat}
          Host github-myproject
            User git
            Hostname github.com
            IdentityFile ~/.ssh/id_rsa_deployment_key_for_myproject
          {noformat}

          The corresponding git URL reads `github-myproject:myorganization/myproject.git`.

          When using this style of configuration, and accordingly specifying the git URL to the GitHub plugin, the GitHub plugin is unable to update the build status on GitHub. If a more explicit configuration is used (specifying user and credential file in the GitHub plugin configuration section for the project), then everything works correctly.

          Issue JENKINS-29827 seems related.
          New: The recommended way to use deployment keys with GitHub is to prepare a special entry in the SSH configuration file, like this:

          {noformat}
          Host github-myproject
            User git
            Hostname github.com
            IdentityFile ~/.ssh/id_rsa_deployment_key_for_myproject
          {noformat}

          The corresponding git URL reads `github-myproject:myorganization/myproject.git`.

          When using this style of configuration, and accordingly specifying the git URL to the GitHub plugin, the GitHub plugin is unable to update the build status on GitHub. If a more explicit configuration is used (specifying user and credential file in the GitHub plugin configuration section for the project), then everything works correctly.

          Issue JENKINS-29827 seems related.
          Kirill Merkushev made changes -
          Assignee Original: Kanstantsin Shautsou [ integer ] New: Kirill Merkushev [ lanwen ]

          Duplicates JENKINS-18298

          Kirill Merkushev added a comment - Duplicates JENKINS-18298
          Kirill Merkushev made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Kirill Merkushev made changes -
          Link New: This issue duplicates JENKINS-18298 [ JENKINS-18298 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167244 ] New: JNJira + In-Review [ 209489 ]

            lanwen Kirill Merkushev
            michipili Michael Grünewald
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: