5

Is there any way to programatically reorder the build queue priority on TFS Agent

For example, at the moment I've 4 builds in the queue on Agent-1

build #1
build #2
build #3
build #4

Currently build #1 is running. Once it's finished, I want TFS Agent-1 to pick build #3 in place of build #2.

RBT
  • 24,161
  • 21
  • 159
  • 240
Naveen Kumar
  • 1,266
  • 1
  • 21
  • 50

1 Answers1

5

I am afraid that this feature does not exist yet in Azure DevOps.

There is a popular feature request regarding this, you can upvote there to get more attention from Microsoft:

enter image description here

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
  • 1
    Interesting that Azure DevOps ReST API seem to support setting priority: https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/queue#queuepriority – oderibas Jun 08 '20 at 11:26