Create Azure DevOps Pipelines#

To create an Azure DevOps pipeline from an existing YML file in a GitHub repository, follow these steps.


Step 1: Click New pipeline from the Pipeline section of the Azure DevOps project

Step 1

Step 2: Select source as GitHub:

Step 2

Step 3: Select the GitHub repository

Step 3

Step 4: Select Existing Pipelines YAML file

Step 4

Step 5: Select the desired pipeline

Step 5

Step 6: For most cases, when the pipeline source is shown, you can just click Run and start your pipeline. However, if you need to adjust some settings, then select More Actions and Save the file.

Step 6

Step 7: If you need to adjust some setting, once the new pipeline page is shown, click the Edit button.

Step 7

Step 8: This may not seem intuitive, but the detailed editor is hidden behind the "Triggers" option of the pipeline editor, so select that.

Step 8

Step 9: On the detailed pipeline editor, select Variables -> Variable Groups, and link the variable groups that are needed for this pipeline.

Step 9

Step 10: More than one variable group can be added to a pipeline.

Step 10

Step 11: Switch to the YAML tab and update the name of the pipeline to be what is desired. Now the "Save and queue" is ready, and the pipeline can be run.

Step 11