Search code examples
azure-devopsazure-pipelinesazure-pipelines-yamlazure-pipelines-tasks

Azure DevOps agent not picking up yml based jobs


So I'm using Azure DevOps Server 2020 Update 1 and self-hosted agents on Linux. I'm desperately trying to get my agent to pick up my jobs but it won't. It's not busy, no capability issues (test pipeline with only a single "hello world"-style inline script), no permission issues (not that I can see). The diagnostic log looks fine, no connection issues as far as I can tell. Always this message comes out:

The agent request is not running because all potential agents are running other requests. Current position in queue: 1

No agents in pool Default are currently able to service this request.

The funny thing is I've just discovered that my agent is picking up non-yaml jobs created in the classic editor. Why is that??? Anybody ever encountered this issue before??? Is there somewhere hidden in the guts of the Server a checkbox that must be ticked in order to run yaml pipelines?


Solution

  • Turned out all I had to do was to update my Linux agents from the version 2.188 to the latest version 2.193. The odd thing is I have an identical server in another network where everything worked just fine with the old agent version.