title: Build pipeline does not delete
body: <p>In the Azure DevOps portal, I select a pipeline, then the [...] menu, then Delete.</p>
  
  <p>I see a message asking:</p>
  
  <blockquote>
    <p>Are you sure? This action cannot be undone. This will permanently
    delete the pipeline 'vt3e (1)'. Deletion includes all builds and
    associated artifacts.</p>
  </blockquote>
  
  <p>I type in the pipeline name and click OK but the pipeline does not delete.</p>
  
  <p>I have waited some hours.</p>
  
  <p><strong>[Update]</strong></p>
  
  <p>F12 in Chrome shows an error in the console:</p>
  
  <blockquote>
    <p>ms.vss-build-web.common-library.__y__CePsj5f5zdcIK.min.js:18 Error:
    One or more builds associated with the requested pipeline(s) are
    retained by a release. The pipeline(s) and builds will not be deleted</p>
  </blockquote>
  
  <p><strong>[Update]</strong></p>
  
  <p>I am trying to follow the answer given by David D, but when I go to delete a release I get a message</p>
  
  <blockquote>
    <p>VS402946: 'Release-8' cannot be deleted as it is currently deployed on
    stage(s) Stage 1.</p>
  </blockquote>
  
  <p><strong>[update]</strong></p>
  
  <p><a href="https://developercommunity.visualstudio.com/content/problem/324411/deleting-a-build-pipeline-does-not-work.html" rel="noreferrer">The issue is logged at Microsoft</a></p>