Hi,
we are facing the problem, that a "System Groovy Choice Parameter" behaves
different depending on the user who starts the build.
We've created a job to easily create branch-jobs for users but the job only
works for administrators because we need to access the groups the user who
started th
Hi,
thank you! That seems to work.
Mit freundlichen Grüßen / Best regards
Sascha Retter
Von: Gur Sannikov [mailto:gursanni...@gmail.com]
Gesendet: Donnerstag, 27. November 2014 08:06
An: jenkinsci-users@googlegroups.com
Cc: Retter, Sascha
Betreff: Re: Retrieve user in System Groovy Choice Param
Hello Everybody,
we need to identify the currently logged-in user in an "Extensible Choice
Parameter" with Choice Provider "System Groovy Choice Parameter". We tried the
following:
* User.current()
* Jenkins.getAuthentication()
* Build.getCause ... which works in a build step