The Azure DevOps Handbook

How To Create A Pipeline From An Existing YAML File In Azure DevOps

xeladu
2 min readNov 25, 2022

--

Made with Pixelied

Let’s say, you want to use the build pipeline from another project. You’ll either need to recreate the pipeline with the editor (😪) or create a pipeline from your existing YAML file (🤗).

🔔 Your YAML file must be checked into version control!

Go to Pipelines and click on New pipeline in the upper right corner. Select the code hoster in the Connect step and the repository in the Select step where your YAML file resides. In the Configure step choose the option Existing Azure Pipelines YAML file and select the correct file in the dropdown menu. The last step is to save the pipeline (the option is hidden in the dropdown of the Run button). A click on Run will also save it.

You can also rename the pipeline by clicking on the 3 dots on the right and selecting Rename/move. Enter the desired name in the textbox and confirm. Your pipeline will be renamed afterward.

Here is a short demonstration video:

Demo video of how to create a pipeline from an existing YAML file in Azure DevOps by author

Find more tips for Azure DevOps here:

The Azure DevOps Handbook

9 stories

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!

No responses yet

Write a response