Parallel Builds extension
Parallel Builds extension provides tasks to start builds in parallel, wait for them to finish and consume their test results. It also contains AutoDefects task to automatically create defects from the failed test run results.
Parallel Builds tasks
The extenstion provides two task to manage parallel/chain builds. Tasks use "internal" connection, so you dont't need to specify any auth parameters
Chain Builds Starter
The task starts build from the buildList parameter. The buildList is the comma-separated list of the build definitions to start. You can specify either full build definition name (using full build folder name - e.g. /buildfolder1/builddef ) or just definition name (builddef).
If you want to parameterize any of your child builds you can specify the builds parameters in Build parameters field. The field accepts json:
The parameters are build variables of a child build referred by build definition name.
If you want to start same build definition several time with different parameters set you can specify an array of parameters for that build definition.
The above will start BuildDefinition1 two times - first with "Parameter1=Value1","Parameter2=Value2" and second with "Parameter1=Value3","Parameter2=Value4"
Chain Builds Awaiter.
The task awaits all build to finish. Once a build is finished its test runs results (if any) are published to the current build with the same name. It adds the links to the original builds to the current build summary page. It also creates "synthetic" test run called "Builds" that represents original builds as tests.
The status of the parent build is calculated of the children statuses using the following rules:
If you want to override rule #2 and make parent passes in that case then you should enable Two-state status flag.
The Auto Defects task loads all test runs of the curren build and creates defects in the current project using the following rules:
If the hash doesn't have a key for the run being processed then the bug is assigned to the "default" username