Parallel build in TFS 2015?

2019-01-26 18:30发布

问题:

I am testing vNext in TFS 2015. I have not found a way to trigger builds in parallel. Is that not supported in TFS?

I have found this:

http://www.jaylee.org/post/2013/03/30/Building-in-Parallel-Across-Multiple-Build-Agents-with-TFS-2012-with-Gated-Checkin.aspx

but that is old and not compatible with vNext.

To be clear I would like to be able to trigger the same build def multiple times, running each (including all its build steps) concurrently.

回答1:

There is currently no equivalent of a drag and drop parallel task. However you can spin up as many build processes as you like using PowerShell. Each of the built in tasks are just PowerShell commands and PowerShell also supports workflow tasks.



回答2:

There's a parallel tickbox under the options tab.



回答3:

As mentioned Build Options:MultiConfiguration here and Build Define here

TFS2015 vNext may be only support parallel build for different platforms by different build variables



标签: tfs