DEV Community

Shaiju T
Shaiju T

Posted on

How to Disable the pipeline in Azure Devops

Hi Folks, I am following below Azure Devops Learning Module

https://docs.microsoft.com/en-us/learn/modules/create-a-build-pipeline/9-clean-up-environment

In docs it says: To disable the pipeline:

1. In Azure Pipelines, navigate to your pipeline.

2. Select Edit. From the menu in the upper corner, select Settings:

But I am not able to see these settings.

Can anyone help ?

Top comments (6)

Collapse
 
mnaseem profile image
Naseem Mohammed • Edited

In docs it says: To disable the pipeline:

  1. In Azure Pipelines, navigate to your pipeline.

  2. Select Edit. From the menu in the upper corner, select Settings:

  3. A window pops up titled Pipeline settings

  4. Here you get the disable the "Processing of new run request"
    alt text

Collapse
 
shaijut profile image
Shaiju T • Edited

Thank you πŸ˜„, This worked. This stopped the build pipeline from running the Job. Hope this saves my free build minutes.

Collapse
 
mnaseem profile image
Naseem Mohammed

if your goal is to disable builds for every check-in; the better approach is to disable CI. That way your pipeline is not disabled. And you can go manually build when you please.

alt text

Collapse
 
softchris profile image
Chris Noring

hey so ensure you have navigated to the pipeline, e.g on the left menu, click menu. Hover over over a recently run pipeline and a ... menu will appear on the right. Select edit. On the top-right click a ... menu. Select settings. Now you have a menu options Enabled, Paused, Disabled. Select Disabled.

Collapse
 
jaydestro profile image
Jay Gordon

You'll need to delete the file within your repo, aka azure-pipelines.yml

Collapse
 
shaijut profile image
Shaiju T • Edited

πŸ˜„, Thank you Jay, I will try this option in future. But for now I used a option in Azure Devops Portal, As said by below comment: dev.to/mnaseem/comment/pjnn

Hope this saves my free build minutes.