When building, testing, and deploying an application with TeamCity, you may need to run a build under a specific user account, different from the one used to run the build agent.
TeamCity RunAs Plugin Overview
The teamcity-runas plugin can be used to run TeamCity build steps under a specified user…