Skip to content

Latest commit

 

History

History
79 lines (59 loc) · 2.58 KB

post-route-traffic-hook.md

File metadata and controls

79 lines (59 loc) · 2.58 KB
title description ms.date monikerRange
postRouteTrafficHook definition
Used to run the steps after the traffic is routed.
03/02/2023
>=azure-pipelines-2020

postRouteTrafficHook definition

:::moniker range=">=azure-pipelines-2020"

Used to run the steps after the traffic is routed. Typically, these tasks monitor the health of the updated version for defined interval.

:::moniker-end

:::moniker range=">=azure-pipelines-2020"

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

:::moniker-end

:::moniker range=">=azure-pipelines-2020"

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 that reference this definition: jobs.deployment.strategy.runOnce, jobs.deployment.strategy.rolling, jobs.deployment.strategy.canary

:::moniker-end

Properties

:::moniker range=">=azure-pipelines-2020"

steps steps.
A list of steps to run.

:::moniker-end

:::moniker range=">=azure-pipelines-2020"

pool pool.
Pool where post route traffic steps will run.

:::moniker-end