tfsbuildbuild-agent

TFS Build Agent Stopped Running


The other evening we attempted to migrate our database to a different server. This ended up getting reversed and everything is now back up and running as expected except for the Builds.

I have removed/re-installed the build agent on the server and all is seemingly running okay.

Agent is online:

Agent Pool

Services are running:

Running Services

Roles have been set up:

Roles Setup

Any ideas why this still isn't running our builds, it just sits there with

Waiting for available agent


Solution

  • After checking all of PatrickLu-MSFT points, we finally figured out that it was because the configuration was trying to point to 2 different db locations, running

    TFSConfig RemapDBs

    to the new db location and removing the old db location configuration solved the issue for us.