Obtaining the username who triggered the build

Hi,

is it possible to obtain the username who triggered the build?
I try to use ${teamcity.auth.userId} in a build script but I get back a build number from the teamcity server like: TeamCityBuildId=642

Thanks,
Timo.

Edited by: Timo Schäfer on Sep 17, 2008 12:56 PM

3 comments
Comment actions Permalink

I need to know this as well.  I'm a little disappointed a question that appears this simple has gone unanswered for 3 years.

Thinking this should be an environment property but I am coming up dry looking through the documentation.

0
Comment actions Permalink

Hi

There is Groovy plugin that adds such build.triggeredBy configuration parameter.

Michael

0
Comment actions Permalink

We found that posting and it did what we need.  Thanks.

0

Please sign in to leave a comment.