title | description | ms.date | monikerRange |
---|---|---|---|
onSuccessHook definition |
Used to run steps for clean-up actions. |
06/11/2024 |
>=azure-pipelines-2020 |
:::moniker range=">=azure-pipelines-2020"
Used to run steps for rollback actions or clean-up.
:::moniker-end
:::moniker range=">=azure-pipelines-2020"
onSuccessHook:
steps: [ task | script | powershell | pwsh | bash | checkout | download | downloadBuild | getPackage | publish | template | reviewApp ] # A list of steps to run.
pool: string | pool # Pool where on success 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 reference this definition: onSuccessOrFailureHook
:::moniker-end
:::moniker range=">=azure-pipelines-2020"
steps
steps.
A list of steps to run.
:::moniker-end
:::moniker range=">=azure-pipelines-2020"
pool
pool.
Pool where on success steps will run.
:::moniker-end