TFS 2017 Linux Build Agent

编程入门 行业动态 更新时间:2024-10-27 20:29:55
本文介绍了TFS 2017 Linux Build Agent的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们有一个内部部署的TFS 2017. Windows构建代理已安装并正常运行。 尝试安装一个没有运气的Linux构建服务器。

  • 安装Ubuntu 16.05 64位。
  • 每个安装的先决条件:https://github/Microsoft/vsts-agent/blob/master/docs/start/envubuntu.md
  • 运行./config.sh
  • 我被提示输入URL,身份验证方法,名称和密码。 无论我尝试什么,我都会"无法连接"没有关于问题的有用信息。

    我很确定网址是正确的,因为如果我输入了一个伪造的网址,我得到了(也非常无益)"发生了错误发送请求时。"

    我尝试过使用和不使用域名的所有用户名组合。 我是TFS服务器管理员。 我不需要成为池管理员,因为我是TFS服务器管理员,但我无论如何都将我的用户名添加为池管理员。 仍然不起作用。

    即使说明中指出"您可以在每个TFS应用程序层上使用域用户或本地Windows用户。 ",我根据VS2015说明在TFS服务器上设置了一个本地帐户,我将该帐户添加为池管理员。 这也不起作用。

    解决方案

    你试试使用个人令牌而不是用户密码 - 请参阅以下文章,了解 在Linux上部署代理

    We have an on-premise TFS 2017. Windows build agent installed and working correctly. Trying to install a Linux build server with no luck at all.

  • Installed Ubuntu 16.05 64-bit.
  • Installed prereqs pergithub/Microsoft/vsts-agent/blob/master/docs/start/envubuntu.md
  • Run ./config.sh
  • I'm prompted for the URL, auth method, name and password. No matter what I try, I get "Failed to connect" with no useful information as to what the problem is.

    I'm pretty sure the url is correct because if I enter a bogus url I get (also enormously unhelpful) "An error occurred while sending the request."

    I've tried every possible combination of my user name with and without the domain name. I am a TFS server admin. I shouldn't need to be a pool administrator since I'm a TFS server admin, but I add my username as a pool admin anyhow. Still doesn't work.

    Even though the instructions say "You can use either a domain user or a local Windows user on each of your TFS application tiers.", I set up a local account on the TFS server per the VS2015 instructions, and I added that account as a pool admin. That doesn't work either.

    解决方案

    you try to use a Personal Token instead of the user password - see the following article for Deploy an agent on Linux

    更多推荐

    TFS 2017 Linux Build Agent

    本文发布于:2023-11-16 12:10:51,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1604157.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:TFS   Linux   Agent   Build

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!