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
Hi, I have a solution for you.
Please try,
return (0).collect{hudson.model.User.current().getDisplayName()};
On Friday, October 24, 2014 10:09:05 AM UTC+3, sascha...@t-systems.com
wrote:
Hello Everybody,
we need to identify the currently logged-in user in an “Extensible Choice
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 but