将构建代理安装为 Windows 服务帮助

发布于 2024-09-06 23:30:52 字数 409 浏览 0 评论 0原文

我目前在 Windows 服务器上安装了 TeamCity CI。我想在 Windows XP 的桌面上安装构建代理。我下载了 buildagent.zip 文件并将其解压缩,并将该文件夹放在我的 c: 驱动器中。我将属性文件重命名为 buildAgent.properties,并将服务器 url 更改为 teamcity ci url,并将 prot 号更改为 120。然后在命令提示符中执行 service.install.bat 和 service.start.bat,它说它已启动正确,但是当我打开浏览器并导航到 teamcity 服务器时,它不会显示在任何地方的代理列表中。如果我不将其作为服务运行,而只是运行agent.bat start 命令,它可以工作,但不适用于服务bat 文件。我尝试在 Windows 服务器上打开端口 120,但这没有帮助。有谁知道为什么它没有出现在代理列表中?

I currently have TeamCity CI installed on a windows server. I want to install a build agent on my desktop on windows xp. I downloaded the files the buildagent.zip file and unzipped it and place the folder in my c: drive. I renamed the properties file to buildAgent.properties and changed the server url to the teamcity ci url and changed the prot number to 120. Then in the command prompt i execute service.install.bat and service.start.bat and it says it started correctly but when I open a browser and navigate to the teamcity server is doesn't show up in the agents list anywhere. If i dont run it as a service and i just run the agent.bat start command it works but not for the service bat files. I tried opening port 120 on the windows server but that didn't help. Does anyone know why it is not showing up in the agents list?

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

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

发布评论

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

评论(1

不乱于心 2024-09-13 23:30:52

又发现了..也是端口问题。必须在构建代理端打开端口 120。

Found again.. Also a port issue. Had to open port 120 on the build agent side.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文