如何更改在 TeamCity 中运行构建代理的用户身份? [英] How can I change the user identity that runs a build agent in TeamCity?

查看:25
本文介绍了如何更改在 TeamCity 中运行构建代理的用户身份?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 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?

推荐答案

  1. 打开服务列表(开始 -> 运行 -> services.msc)
  2. 查找Team City Build Agent"服务
  3. 打开服务的属性对话框(右键单击,属性)
  4. 选择登录"标签
  5. 通过选择此帐户"并输入密码来更改运行服务的用户的身份.

这篇关于如何更改在 TeamCity 中运行构建代理的用户身份?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆