Answers: <p>As suggested by @030, I have prepared two screenshots that show how to connect the .yml files with the build pipeline. </p>
  
  <ol>
  <li><p>Rename the .yml file in the repository</p></li>
  <li><p>Open the pipeline editor
  <a href="https://i.sstatic.net/KJX7y.png" rel="noreferrer"><img src="https://i.sstatic.net/KJX7y.png" alt="Pipeline editor"></a></p></li>
  <li><p>Select the file from the dropdown
  <a href="https://i.sstatic.net/4iStF.png" rel="noreferrer"><img src="https://i.sstatic.net/4iStF.png" alt="enter image description here"></a></p></li>
  <li><p>Select the in step 1 renamed *.yml file and click on <code>save</code>.</p></li>
  </ol>
  
  <p>After the existing .yml is assigned, the pipeline works as before the renaming.</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-11-04T17:56:06.070Z
Answers: +1 for adding actual screenshots and the concrete steps.
Answers: 030
Answers: CC BY-SA 4.0
Answers: 2019-11-04T13:15:28.480Z
Answers: 2019-11-04T18:03:08.600Z
Answers: 2019-11-04T18:03:08.600Z
Answers: Ned Flanders
Answers: <p>This has been fixed in recent version of Azure DevOps. Currently you can easily rename or move the pipeline in the list of pipelines while clicking on 3 dots and select Rename/move
  <a href="https://i.sstatic.net/XrVfX.png" rel="noreferrer"><img src="https://i.sstatic.net/XrVfX.png" alt="enter image description here" /></a></p>
  <p>and change your location or move the pipeline
  <a href="https://i.sstatic.net/BlQDF.png" rel="noreferrer"><img src="https://i.sstatic.net/BlQDF.png" alt="enter image description here" /></a></p>
  
Answers: CC BY-SA 4.0
Answers: 2021-12-18T20:00:33.710Z
Answers: this is a useful feature, but it doesn't change what filename the pipeline looks for
Answers: Vince Bowdren
Answers: CC BY-SA 4.0
Answers: 2020-07-30T13:15:20.833Z
Answers: 2020-07-30T13:15:20.833Z
Answers: Tomasz Chudzik
Answers: <p>According to <a href="https://developercommunity.visualstudio.com/content/problem/437066/cannot-set-pipeline-name-with-yaml-file-in-azure-d.html" rel="noreferrer">this Azure Q&amp;A</a> it should be possible to change the name of the yaml file by clicking on "Edit in the visual designer".</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-11-03T15:00:11.057Z
Answers: This was it. :) But one should be aware, that this screenshot is old and today it looks very different.
Answers: Ned Flanders
Answers: CC BY-SA 4.0
Answers: 2019-11-04T11:55:42.960Z
Answers: @NedFlanders Could you add a screenshot? You could choose to post another answer.
Answers: 030
Answers: CC BY-SA 4.0
Answers: 2019-11-03T11:21:12.370Z
Answers: 2019-11-03T11:21:12.370Z
Answers: 030
Body: <p>I have a .NET Core application that has three build pipelines. (Windows, Linux, macOS)
  In each of them, the application gets assembled a little different. This part works so far.</p>
  
  <p>Azure created for each pipeline a .yml file in the root folder of the repository. </p>
  
  <ul>
  <li>azure-pipelines.yml (Linux Build)</li>
  <li>azure-pipelines-1.yml (Windows Build)</li>
  <li>azure-pipelines-2.yml (macOS Build)</li>
  </ul>
  
  <p>I would like to rename them to something like <em>azure-pipelines-<strong>platform</strong>.yml</em></p>
  
  <p>But when I do so, the configuration in Azure gets broken. I can rename the build configuration, but not the file. And I find no way to configure the link between .yml file and Build config in DevOps</p>
  
  <p>Is it generally not possible to rename the .yml files? </p>
  
Tags: <azure-devops><azure-pipelines><yaml>
Title: Rename build pipeline .yml files in Azure DevOps
UserDisplayName: Ned Flanders
ThreadText: # Rename build pipeline .yml files in Azure DevOps
  
  (Asked by: username_0 on 2019-11-02)
  
  I have a .NET Core application that has three build pipelines. (Windows, Linux, macOS)
  In each of them, the application gets assembled a little different. This part works so far.
  
  Azure created for each pipeline a .yml file in the root folder of the repository.
  
  * azure-pipelines.yml (Linux Build)
  * azure-pipelines-1.yml (Windows Build)
  * azure-pipelines-2.yml (macOS Build)
  
  I would like to rename them to something like *azure-pipelines-**platform**.yml*
  
  But when I do so, the configuration in Azure gets broken. I can rename the build configuration, but not the file. And I find no way to configure the link between .yml file and Build config in DevOps
  
  Is it generally not possible to rename the .yml files?
  
  **Tags:** azure-devops, azure-pipelines, yaml
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2019-11-03. Score: 5 | Accepted answer
  
  According to [this Azure Q&A](https://developercommunity.visualstudio.com/content/problem/437066/cannot-set-pipeline-name-with-yaml-file-in-azure-d.html) it should be possible to change the name of the yaml file by clicking on "Edit in the visual designer".
  
  > **Comments:**
  > **username_0**: This was it. :) But one should be aware, that this screenshot is old and today it looks very different.  
  > **username_1**: @username_0 Could you add a screenshot? You could choose to post another answer.  
  
  ---
  
  ### Answer by username_0 on 2019-11-04. Score: 6
  
  As suggested by @username_1, I have prepared two screenshots that show how to connect the .yml files with the build pipeline.
  
  1. Rename the .yml file in the repository
  2. Open the pipeline editor
     [![Pipeline editor](https://i.sstatic.net/KJX7y.png)](https://i.sstatic.net/KJX7y.png)
  3. Select the file from the dropdown
     [![enter image description here](https://i.sstatic.net/4iStF.png)](https://i.sstatic.net/4iStF.png)
  4. Select the in step 1 renamed \*.yml file and click on `save`.
  
  After the existing .yml is assigned, the pipeline works as before the renaming.
  
  > **Comments:**
  > **username_1**: +1 for adding actual screenshots and the concrete steps.  
  
  ---
  
  ### Answer by username_2 on 2020-07-30. Score: 6
  
  This has been fixed in recent version of Azure DevOps. Currently you can easily rename or move the pipeline in the list of pipelines while clicking on 3 dots and select Rename/move
  [![enter image description here](https://i.sstatic.net/XrVfX.png)](https://i.sstatic.net/XrVfX.png)
  
  and change your location or move the pipeline
  [![enter image description here](https://i.sstatic.net/BlQDF.png)](https://i.sstatic.net/BlQDF.png)
  
  > **Comments:**
  > **username_3**: this is a useful feature, but it doesn't change what filename the pipeline looks for  
  
  ---
  
  