-
Bug
-
Resolution: Duplicate
-
Minor
-
- Jenkins 1.638
- GitHub plugin 1.14.0
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.
- duplicates
-
JENKINS-18298 Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases
-
- Open
-
[JENKINS-31797] GitHub plugin does not update build status when repository is accessed with a custom SSH configuration entry
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 |
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 |
Assignee | Original: Kanstantsin Shautsou [ integer ] | New: Kirill Merkushev [ lanwen ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Link | New: This issue duplicates JENKINS-18298 [ JENKINS-18298 ] |
Workflow | Original: JNJira [ 167244 ] | New: JNJira + In-Review [ 209489 ] |