1

We have a build server running the new TFS 2015 build agent in an agent pool. I have looked and cannot find a way to 'increase' the number of consecutive builds to run.

Basically, I would like to have our build server be able to build two different requests at the same time. Is this possible?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Jason H
  • 4,996
  • 6
  • 27
  • 49

1 Answers1

2

Unless you are using different agent pools, you can set up multiple TFS Build Agents on one build server (machine). If you are putting the agents in the same agent pool, your demand is not possible. There is a clear picture show in how are agent pools and queues organized?

Enter image description here

From the above picture you can see unless they are in a different agent pool, there is no possibility to build two different requests at the same time.

Moreover, there is also a parallel build in the vNext build definition. However, this parallel build only has support for different platforms by different build variables.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62
  • 1
    while I accept this is Microsoft's official answer, someone on the MSDN Forums has pointed out a 'workaround' of sorts by having multiple agents on a single build server. This is not ideal but does accomplish the goal and acceptable for now. – Jason H Aug 19 '16 at 08:35
  • Agreed. But for one thing. Why you want to edit my answer "can" to "can't " . Actually, you can hold multiple agents on a single build server for vNext. However, you can not run those agent in one agent pool at the same time. That's why when you queue a build, you will get a prompt : " x position in queue." If you are using the different definition, such as a build and a release and not using a same queue agent. Then the requests can run in a totally parallel. – PatrickLu-MSFT Aug 19 '16 at 09:04
  • I misread your post and thought you had mistyped. You may disregard my edit suggestions then. – Jason H Aug 19 '16 at 09:07
  • Thanks for your kindness explanation. – PatrickLu-MSFT Aug 19 '16 at 09:15