Build Parameter - Retrieving the user that triggered a build


Is there anyway to retrieve the user that requested the build? For example if a build is triggered by something like TFS on a check-in it says: "Team Foundation Server" and if its triggered by a user specifically it says their user name.

I would like to have access to this information for each build. I have an automated deployment stage which calls a third party tool and I want this tool to know who requested the build (whether human or automated).

Please sign in to leave a comment.