I am trying to get a build process set up in TeamCity 5, and I am encountering an access denied error when trying to copy some files. I see that my build agent is running as "SYSTEM" now, and I think that's part of the problem. I'd like to change that user identity. The trouble is that I can't figure out how to change those settings on the build agent. How can I change the build user identity?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Open the services list (Start -> Run -> services.msc)
- Find the "Team City Build Agent" service
- Open the properties dialog for the service (right click, Properties)
- Choose the "Log On" tab
- Change the identity of the user running the service by choosing "this account" and enter the password.