Events
Take the Microsoft Learn Challenge
Nov 19, 11 PM - Jan 10, 11 PM
Ignite Edition - Build skills in Microsoft Azure and earn a digital badge by January 10!
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Use triggers to run a pipeline automatically. Azure Pipelines supports many types of triggers. Based on your pipeline's type, select the appropriate trigger from the lists below.
Note
All trigger paths are case-sensitive.
Continuous integration (CI) triggers vary based on the type of repository you build in your pipeline.
Pull request validation (PR) triggers also vary based on the type of repository.
Gated check-in is supported for TFVC repositories.
Comment triggers are supported only for GitHub repositories.
Scheduled triggers are independent of the repository and allow you to run a pipeline according to a schedule.
Pipeline triggers in YAML pipelines and build completion triggers in classic build pipelines allow you to trigger one pipeline upon the completion of another.
YAML pipelines can have different versions of the pipeline in different branches, which can affect which version of the pipeline's triggers are evaluated and which version of the pipeline should run.
Trigger type | Pipeline YAML version |
---|---|
CI triggers (trigger ) |
The version of the pipeline in the pushed branch is used. |
PR triggers (pr ) |
The version of the pipeline in the source branch for the pull request is used. |
GitHub pull request comment triggers | The version of the pipeline in the source branch for the pull request is used. |
Scheduled triggers | See Branch considerations for scheduled triggers. |
Pipeline completion triggers | See Branch considerations for pipeline completion triggers. |
Continuous deployment triggers help you start classic releases after a classic build or YAML pipeline completes.
Scheduled release triggers allow you to run a release pipeline according to a schedule.
Pull request release triggers are used to deploy a pull request directly using classic releases.
Stage triggers in classic release are used to configure how each stage in a classic release is triggered.
Events
Take the Microsoft Learn Challenge
Nov 19, 11 PM - Jan 10, 11 PM
Ignite Edition - Build skills in Microsoft Azure and earn a digital badge by January 10!
Register now