Reputation: 11
The issue is similar to the issue in the below link. TFS 2015 vNext Gated Check-in builds are "Waiting for an agent to be requested"?
Upvotes: 1
Views: 338
Reputation: 21
tricky problem for me. After a failed build (TFS seems to have a token problem), the system was halted and any gated checkin didnt work. TFS are waiting for agent to be requested.
My solution was to see the tbl_GatedQueue and deleted the lines in error.
Upvotes: 2
Reputation: 11
I have deleted one of the Agent entry from the table tbl_BuildAgent of Project collection database. Now the Gated check in working fine.
Upvotes: 0
Reputation: 51183
First, you could double check your build definition settings. I've seen this happen when the build definition is in an invalid state, i.e. it was saved without validation errors but some aspect of the configuration is wrong.
You could also create a new build definition with same settings to narrow down the issue.Or restart Team Foundation Background Job Agent service and try again.
To get more info for troubleshooting please check the log in \agent_diag
on your build agent machine.
Upvotes: 0