This article demonstrates how to trigger a build pipeline for scheduled continuous integration and pull requests using the Azure DevOps build pipeline trigger.
- The build pipeline triggers tab specifies the events that trigger builds, specify the same build pipeline for CI and scheduled builds.
- Builds are configured by default with a CI trigger on all branches. Control which branch gets triggered with sample syntax.
- Include the branches you want to trigger and then exclude the branches you don’t want to trigger.
trigger: branches: include: - master exclude: - develop/*