构建问题
当我尝试运行该作业时,我收到错误消息,指出
无法找到符合所有条件的服务器
请任何人帮助我解决此问题
when i tried to run the job i am getting the error saying that
No server could be found matching all conditions
please any one help me on this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 buildforge 中,作业被分配给选择器。
选择器可以被认为是指向一个对象的指针,该对象可以表示服务器的名称,也可以表示与一组条件匹配的一组服务器。
当作业执行时,该步骤的选择器尝试根据选择器条件中定义的条件查找服务器。如果找不到与选择条件匹配的服务器,您将收到发布的错误消息。
在现实生活中,此错误通常表示以下内容:
1.服务器上的代理挂了,或者服务器宕机了。运行 bfservertest(或在 buildforge Web UI 中测试连接)以查看代理是否正常运行。远程或亲自访问机器以验证服务器是否已启动。如果计算机已启动且连接测试失败,请尝试重新启动代理服务。
2. 选择器指向不存在的服务器,因为您拼错了服务器名称。
3. 您在选择器中定义了无意中排除所有服务器使用的条件。
In buildforge, the job is assigned to a selector.
The selector can be thought of as a pointer to an object that can represent either the name of a server, or a set of servers that matches a set of criteria.
When the job executes, the selector for that step attempts to find the server based on the criteria defined in the selector conditions. If it can't find a server that matches the selection conditions, you get the posted error message.
In real life, this error usually indicates the following:
1. The agent on the server is dead, or the server is down. Run bfservertest (or test connection in the buildforge web UI) to see if the agent is functioning. Visit the machine remotely or in person to verify that the server is up. Try restarting the agent service if machine is up and connection test fails.
2. The selector is pointing to a non-existent server because you misspelled the server name.
3. You have conditions defined in the selector that unintentionally exclude all servers from being used.