jenkinsci / jenkinsci/plain-credentials-plugin

[JENKINS-60954] credential displayName for StringCredential uses description only

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
component:plain-credentials-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
10
Forks
39
Avg merge
10m
Merged PRs (30d)
1

Description

After creating a SecretText credential, the displayName of the credential uses the Description field only and does not use the ID of the  credential as part of the displayName.

See part of code here:

https://github.com/jenkinsci/plain-credentials-plugin/blob/83be2ca41c6c5e6f96eb6c9a47ebdd394b2a6dbc/src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java#L52-L54

---
Originally reported by cbdchang, imported from: credential displayName for StringCredential uses description only


  • status: Open
  • priority: Minor
  • component(s): plain-credentials-plugin
  • label(s): credentials
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20260604-161841

Raw content of original issue

After creating a SecretText credential, the displayName of the credential uses the Description field only and does not use the ID of the  credential as part of the displayName.

See part of code here:

https://github.com/jenkinsci/plain-credentials-plugin/blob/83be2ca41c6c5e6f96eb6c9a47ebdd394b2a6dbc/src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java#L52-L54

  • environment: Jenkins LTS version 2.176.4, plain credential plugin version 1.5

2 attachments

- [Screen Shot 2020-01-21 at 1.42.40 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/50103/Screen%20Shot%202020-01-21%20at%201.42.40%20PM.png)
> ![Screen Shot 2020-01-21 at 1.42.40 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/50103/Screen%20Shot%202020-01-21%20at%201.42.40%20PM.png)
- [Screen Shot 2020-01-21 at 1.43.00 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/50102/Screen%20Shot%202020-01-21%20at%201.43.00%20PM.png)
> ![Screen Shot 2020-01-21 at 1.43.00 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/50102/Screen%20Shot%202020-01-21%20at%201.43.00%20PM.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.