jenkinsci / jenkinsci/ssh-credentials-plugin
[JENKINS-72786] After "add" of new credential: "The selected credentials cannot be found"
- Dominant language
- Java
- Stars
- 25
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
After adding the very first ssh-credential in a newly installed jenkins as a "system credential" during the "add a node" process, we get the error message:
"The selected credentials cannot be found".
There are no credentials available to selected in the dropdown, apart from a credential called "none", which makes no sense.
It appears that a credential was created in a broken state that is not possible to use.
At this point the "add" button is broken.
---
Originally reported by minfrin, imported from: After "add" of new credential: "The selected credentials cannot be found"
jvz
Raw content of original issue
After adding the very first ssh-credential in a newly installed jenkins as a "system credential" during the "add a node" process, we get the error message:
"The selected credentials cannot be found".
There are no credentials available to selected in the dropdown, apart from a credential called "none", which makes no sense.
It appears that a credential was created in a broken state that is not possible to use.
At this point the "add" button is broken.
environment
```
openjdk version "11.0.22" 2024-01-16 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.22.0.7-1) (build 11.0.22+7-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.22.0.7-1) (build 11.0.22+7-LTS, mixed mode, sharing)
```
1 attachment
- [credentials-1.png](https://issues.jenkins.io/secure/attachment/62154/credentials-1.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.