-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
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`
- relates to
-
JENKINS-63186 Allow setting ID for personal access token
-
- Open
-
That would be the better pattern but I think for compatibility you cannot touch id-and-description, just leave it alone but mark as deprecated. Existing subclasses using it would presumably already be overriding config so they would not benefit from the new pattern.