routeTrafficHook definition

Used to run steps that serve the traffic to the updated version.

routeTrafficHook:
  steps: [ task | script | powershell | pwsh | bash | checkout | download | downloadBuild | getPackage | publish | template | reviewApp ] # A list of steps to run.
  pool: string | pool # Pool where route traffic steps will run.

Note

This definition is a supporting definition and is not intended for use directly in a pipeline. This article provides the YAML syntax for this supporting type, but does not show usage examples. For more information on using the definitions that this type supports, see the following definition links.

Definitions that reference this definition: jobs.deployment.strategy.runOnce, jobs.deployment.strategy.rolling, jobs.deployment.strategy.canary

Properties

steps steps.
A list of steps to run.

pool pool.
Pool where route traffic steps will run.