12
votes

Folks,

I am trying to use Team City. I completed the six steps out of 7. Now for the last step, under the tab "Agent Requirements", it is showing me the following message

Agents compatibility
In this section you can see which agents are compatible with requirements and which are not.

There are no agents registered.

Why it is showing this message ? Any solution ?

or rather, how to register an agent ?


EDIT : I already installed the Agent via MS Windows Installer, but it still shows me the same above message

Screenshot :

enter image description here

Finally managed to get this output :)

enter image description here

3
Your team city thinks you have no agents, period. What is shown in the "Agents" page (the link all the way up at the top).vcsjones
yeah .. it shows "no agents available".. But then i tried installing agent via MS Windows Installer, but it still shows me the same message .. Do I need to re-login to check that ?Saurabh Gokhale
I have the similiar issue, cant see a new agent even after I install one. How did you resolve this?Yaroslav Yakovlev

3 Answers

7
votes

Your agents tab title says - Agents (0) - that means you have no registered agents. Go to the Agents tab and see if the agent(s) that you want are authorized and connected. ( the first time an agent connects to the server, it has to be authorized from the Agents page - checkout http://server/agents.html?tab=unauthorizedAgents)

2
votes

One reason may be that the Build Agent itself is either 1. not running (build agent service is not actually running - check the status of the service via the windows 'local services' admin panel), 2. not able to connect to the Team City server.

In either case, I found reading the build agent's logs to be very helpful in identifying the underlying issues. These can be found in the build_agent_install_dir/logs folder.

0
votes

I had an similar issue. Created a new project and had two agents which should be compatible. But project showed no compatible agents and ALSO no incompatible agents!

In my case i had to manually add my new project to the default Agents Pool. Go to Agents > Pools, and click the button Assign agents..