jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-52364] Checkout over SSH fails when using SYSTEM scoped SSH-credentials
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
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
---
Originally reported by
jnz_topdanmark, imported from: Checkout over SSH fails when using SYSTEM scoped SSH-credentials
Raw content of original issue
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
environment
```
Jenkins 2.129
github-branch-source-plugin 2.3.6
Credentials 2.1.17
SSH-Credential 1.14
```
3 attachments
- [Jenkins-Job-Log-Using-GLOBAL-SSH-Prior-to-Upgrade.txt](https://issues.jenkins.io/secure/attachment/43307/Jenkins-Job-Log-Using-GLOBAL-SSH-Prior-to-Upgrade.txt)
- [Jenkins-Job-Log-Using-GLOBAL-SSH.txt](https://issues.jenkins.io/secure/attachment/43306/Jenkins-Job-Log-Using-GLOBAL-SSH.txt)
- [Jenkins-Job-Log-Using-SYSTEM-SSH.txt](https://issues.jenkins.io/secure/attachment/43309/Jenkins-Job-Log-Using-SYSTEM-SSH.txt)
Contributor guide
Assessment
This issue has not been assessed yet.