Jerome: can withCredentials() be used in the script of a job parameter of
type 'Active Choice Reactive Parameter'?
Gajanan: there is a job parameter type 'List Subversion tags (and more)'.
May be this satifies your needs. You will have to setup a credential
(name+password) in the Jenkins
You should use the credtentials,
withCredentials() {
}
Add the credentials to you Jenkins config then use the command above, it will
also prevent the print output of the password into the log and change it for
*.
https://www.jenkins.io/doc/pipeline/steps/credentials-binding/