.netcontinuous-integrationtfsbuildtfs-2015build-server

TFS build server 2015 stuck on waiting for an available agent


I am using TFS build server 2015 and I'm trying to run a build but the build always stuck on
waiting for an available agent for 2-3 minutes and then fails.
I tried to download the log.zip but its empty.

waiting for an available agent

When I run the agent from cmd the next message appears:

The Agent failed to start this job. Error: An error occurred while sending the request

I checked all the logs in the event viewer and there are no errors at all.
I also tried to re-install the agent and nothing seems to help.

My configuration process: enter image description here

Edit: I found the problem. in the Team Foundation Administration Console the property of "Notification URL" was with invalid value of not existed server.


Solution

  • I found the problem. in the Team Foundation Administration Console the property of "Notification URL" was with invalid value of not existed server.