Unable to get value of password parameter into another parameter

In Jenkins pipeline parameter say Branches of type Active Choice Reactive Parameter, I’ve to auto-populate branch names hence I’ve following command, which I can execute in parameter’s Groovy script –

svn ls <url> --non-interactive --no-auth-cache --trust-server-cert --username <username>--password <password>

username can be retrieved using User.current().getId()

I’ve Password parameter of Password Parameter type. To use value of this parameter in Groovy script of Branches, I’ve added Password parameter in Referenced parameters of Branches

But I cannot see its value reflected in Branches parameter. Can you please suggest how this can be handled?

Or any other way to pass Password value or authentication details so I can execute svn command.

Go to Source
Author: TDHM