Closed LeroyR closed 3 years ago
I don't think it is possible (with reasonable effort and decent expected robustness of the result) to implement this since Jenkins encrypts the supplied password in some undocumented (at the user level) way. For example, adding a password parameter with the value test
(or similar), results in this configuration:
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.PasswordParameterDefinition>
<name>Foo</name>
<defaultValue>{AQAAABAAAAAQ+PDLeSphWaJH3mXlJSiAOwJz2idoo/6SZ/MuKifthZI=}</defaultValue>
</hudson.model.PasswordParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
It would probably be possible to support this parameter kind without default values, thought.
Default values dont make much sense anyway 🙃
Is your feature request related to a problem? Please describe. Parameters aspect does not support parameters of type 'password'
Describe the solution you'd like support parameter of type password for jenkins