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
Please sign in to leave a comment.
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.
Hi
There is Groovy plugin that adds such build.triggeredBy configuration parameter.
Michael
We found that posting and it did what we need. Thanks.