Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine why an agent pool is offline in Azure dev-ops

I noticed that all of my builds suddenly got stuck. If I click the build I get the following error: All eligible agents are disabled or offline

When I check my agent pools I get the following: enter image description here

How can I bring them online/determine why they are offline?

like image 708
user1038502 Avatar asked Mar 08 '19 21:03

user1038502


2 Answers

For me, issue was suddenly agents were reporting offline on the portal.

  1. Restarted the agent service in the VM - didn't help
  2. Removed config file also didn't help because logs were showing that dev.azure.com wasn't connecting
  3. Simply just restarting VM helped, but still couldn't able to find the cause.
like image 101
Jaydeep Soni Avatar answered Oct 17 '22 14:10

Jaydeep Soni


Login to powershell.Navigate to the agent folder where it contains run cmd prompt and config cmd prompt.

Execute the following command

.\run.cmd

like image 31
Rajan Avatar answered Oct 17 '22 15:10

Rajan