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.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/f212facd-7252-4722-97ec-e773761a9bf7o%40googlegroups.com.