Found the answer :-): https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin Regards Mirko
On Tue, Jan 29, 2013 at 10:12 PM, Mirko Friedenhagen <[email protected]> wrote: > Hello, > > I need access to the name of the currently logged in user, i.e. not > the FULLNAME, not the account name of Jenkins itself, nor the EMAIL. > Say Jenkins is running as user jenkins. > > Given I created an account "mirko-test" with FULLNAME "Mirko > Friedenhagen" and EMAIL "mfriedenhagen@...." > And I created a free-style job "test-token" with a Shell step executing a > shell > Then I expect an environment variable LOGIN_USER with the value "mirko-test". > > On a Mac I get LOGNAME=jenkins and USER=jenkins, FULLNAME="Mirko > Friedenhagen" and EMAIL "mfriedenhagen@..." but "mirko-test" does not > show up anywhere in the console. > > Regards Mirko -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
