Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Team Services - Waiting for an available agent

Tags:

This issue started happening to me this morning. I'm trying to run a build on Visual Studio Team Services but the build never starts, it stays like this forever:

enter image description here

FYI I have only 1 agent (Hosted). I checked the activity of the agent on Control Panel > Agent Pools > Requests but the agent seems to be available, i.e. there is no other activity.

I have stopped and restarted the builds 2 or 3 times with no luck.

Any suggestions? Is there any way to restart the build agent?

like image 487
Rui Jarimba Avatar asked Apr 15 '16 12:04

Rui Jarimba


1 Answers

This is caused by a VSTS issue which has been fixed now. Issue: Issues with Hosted Build in Visual Studio Team Services – 4/15 – Resolved

And for your question "Is there any way to restart the build agent?", the answer is "NO" since you are using Hosted Build Agent. But you can deploy your own build agent which can be controlled by yourself and won't be affected by VSTS.

Tips:

Anytime you meet this issue, you can go to VSTS Service Blog to check if we are investigate this issue and the status of it.

like image 121
Eddie Chen - MSFT Avatar answered Sep 20 '22 17:09

Eddie Chen - MSFT