-
Notifications
You must be signed in to change notification settings - Fork 8
Parallel Task
The Parallel
task runs queues of tasks in parallel/asynchronously. The Parallel
task finishes once all queues finish. Each queue is run in a background PowerShell job (i.e. process). Tasks in each queue are run in the order defined in your whiskey.yml.
As each queue finishes, its output is received and written to STDOUT. If a task in a queue fails, the other remaining queues are cancelled/aborted/stopped, and the build will fail.
Define your queues with a "Queues" property, which should be an array of queue objects. Each queue object must have one Tasks
property, which is a list of tasks to run.
-
Queues
: a list of queues to run. Each queue must have aTasks
property, which is a list of tasks to run.
Build:
- Parallel:
Queues:
- Tasks:
- NUnit2:
DisableCodeCoverage: true
Path: myassembly.dll
- NUnit2:
DisableCodeCoverage: true
Path: myassembly2.dll
- Tasks:
- NUnit2:
DisableCodeCoverage: true
Path: myassembly3.dll
Demonstrates how to run tasks in parallel. In this example, two task queues will be started. The first queue will run myassembly.dll then myassembly2.dll. The second queue will run myassembly3.dll. The two queues will run at the same time.
- Common Task Properties
- AppVeyorWaitForBuildJob
- CopyFile
- Delete
- DotNet
- Exec
- File
- GetPowerShellModule
- GitHubRelease
- InstallNodeJs
- LoadTask
- Log
- MergeFile
- MSBuild
- NuGetPack
- NuGetPush
- NuGetRestore
- NUnit2
- NUnit3
- Parallel
- Pester
- Pipeline
- PowerShell
- ProGetUniversalPackage
- PublishBitbucketServerTag
- PublishBuildMasterPackage
- PublishNodeModule
- PublishPowerShellModule
- PublishProGetAsset
- PublishProGetUniversalPackage
- SetVariable
- SetVariableFromPowerShellDataFile
- SetVariableFromXml
- TaskDefaults
- Version
- Zip