将构建代理安装为 Windows 服务帮助
我目前在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
又发现了..也是端口问题。必须在构建代理端打开端口 120。
Found again.. Also a port issue. Had to open port 120 on the build agent side.