How to run second azure pipeline on the completion of a stage on first pipeline

Viewed 435
1 Answers

The pipeline is a custom name you would give to your pipeline to be referenced/used in your YAML file. The source is the name of your actual pipeline that was created in Azure DevOps. If you read carefully the MS documentation example, the YAML trigger is defined in the app-ci pipeline to be able to run automatically everytime a new version of security-lib-ci is built.

Example: I want to automatically run my release-pipeline-CD everytime my build pipeline build-pipeline-CI is built.

resources:
pipelines:
 - pipeline: CI
   source: 'build-pipeline-CI'
   trigger: true

Related