jenkinsci / jenkinsci/credentials-plugin

[JENKINS-45540] Refactor id-and-description tear-off

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

Description

There is no need for BaseStandardCredentials to require sub-classes to include the `id-and-description` tear-off.

Much better would be to just override `config.jelly` and put the `id` at the top and the `description` at the bottom in between the include for `credentials.jelly`.

Should be possible to make this backwards compatible by retaining an empty `id-and-description.jelly`

---
Originally reported by stephenconnolly, imported from: Refactor id-and-description tear-off


  • status: Open
  • priority: Minor
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-08

Raw content of original issue

There is no need for BaseStandardCredentials to require sub-classes to include the `id-and-description` tear-off.

Much better would be to just override `config.jelly` and put the `id` at the top and the `description` at the bottom in between the include for `credentials.jelly`.

Should be possible to make this backwards compatible by retaining an empty `id-and-description.jelly`

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.