Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To activate a pipeline in Azure that is specific to a particular branch from a different pipeline, you can use the "Trigger Azure Pipelines" task in the source pipeline. Follow these steps:

  1. In the source pipeline, add a new task and search for "Trigger Azure Pipelines".

  2. Configure the task by specifying the targeting pipeline and the branch that should be triggered. You can do this by specifying the "Pipeline name" and "Branch" fields respectively.

  3. Optionally, you can also pass variables and arguments to the targeted pipeline by specifying them in the "Arguments" and "Template parameters" fields respectively.

  4. Save and run the updated source pipeline.

The targeted pipeline will now be automatically triggered whenever the source pipeline runs and only for the specified branch.