如何更改在 TeamCity 中运行构建代理的用户身份?

发布于 2024-08-25 13:03:25 字数 135 浏览 5 评论 0原文

我正在尝试在 TeamCity 5 中设置构建过程,但在尝试复制某些文件时遇到访问被拒绝错误。我看到我的构建代理现在正在作为“SYSTEM”运行,我认为这是问题的一部分。我想更改该用户身份。问题是我不知道如何更改构建代理上的这些设置。如何更改构建用户身份?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

-小熊_ 2024-09-01 13:03:25
  1. 打开服务列表(开始 -> 运行 -> services.msc)
  2. 找到“Team City Build Agent”服务
  3. 打开该服务的属性对话框(右键单击,属性)
  4. 选择“登录”选项卡
  5. 更改其身份用户通过选择“此帐户”并输入密码来运行该服务。
  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.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文