Author : MD TAREQ HASSAN | Updated : 2022/01/06

About Trigger

CI trigger with list of branch names

azure-pipelines.yml

trigger:
- main
- dev
- feature

CI trigger with complete control

azure-pipelines.yml

trigger:
  batch: true
  branches:
    include:
    - dev/*
    - features/*
    exclude:
    - features/experimental/*
  tags:
    include:
    - v2.*
    exclude:
    - v2.0
  paths:
    exclude:
    - README.md

Disable CI trigger

First, disable “Override YAML continuous integration trigger”

Disable Overriding YAML continuous integration trigger

Now, disable CI trigger in yaml: azure-pipelines.yml

# A pipeline with no CI trigger
trigger: none

# ... ... ...

Notes: