How can I change the user identity that runs a build agent in TeamCity?

╄→尐↘猪︶ㄣ 提交于 2019-11-27 11:04:48

问题


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:


  1. Open the services list (Start -> Run -> services.msc)
  2. Find the "Team City Build Agent" service
  3. Open the properties dialog for the service (right click, Properties)
  4. Choose the "Log On" tab
  5. Change the identity of the user running the service by choosing "this account" and enter the password.


来源:https://stackoverflow.com/questions/2485446/how-can-i-change-the-user-identity-that-runs-a-build-agent-in-teamcity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!