Azure DevOps Engineer Question 28
For the AZ-400 exam, the correct way to trigger a pipeline on every commit while skipping runs for documentation-only changes is to use path-based exclusions in your YAML trigger. Specifically, configuring paths: exclude: - '*.md' allows the pipeline to ignore commits where the only modifications are to Markdown files. Unlike Pipeline Variables or Pipeline Stages, which manage internal logic and execution flow, or Manual Triggers that bypass automation entirely, path filters are evaluated at the repository level to prevent unnecessary build noise. This standard Azure DevOps pattern ensures that computational resources are reserved for code-impacting changes rather than simple documentation updates.
#AZ400 #AzureDevOps #CICD #AzurePipelines #YAML #DevOps #Automation #TechTips #KodeKloud
KodeKloud
...