jenkinsci / jenkinsci/ssh-credentials-plugin

[JENKINS-72786] After "add" of new credential: "The selected credentials cannot be found"

Open
#327 1 comment 0 reactions 0 assignees View on GitHub
component:ssh-credentials-plugin imported-jira-issue priority:major resolution:unresolved
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"


  • assignee: jvz
  • status: Open
  • priority: Major
  • component(s): ssh-credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251215-193512

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)
> ![credentials-1.png](https://issues.jenkins.io/secure/attachment/62154/credentials-1.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.