How to get the current session user in Jenkins on a Groovy parameter
You should be able to call:
import hudson.model.User
...
User.current()
From a groovy script to get the current user :-)
def user = build.causes[0].userId
You should be able to call:
import hudson.model.User
...
User.current()
From a groovy script to get the current user :-)
def user = build.causes[0].userId