Exercise - Clean up your Azure DevOps environment

Completed

You're all done with the tasks for this module. You can now move the work item to the Done state on Microsoft Azure Boards and clean up your Microsoft Azure DevOps environment.

Important

This page contains important cleanup steps. Cleaning up helps ensure that you don't run out of free build minutes. Be sure to perform the cleanup steps if you ran the template earlier in this module.

Disable the pipeline or delete your project

Each module in this learning path provides a template that you can run to create a clean environment for the duration of the module.

Running multiple templates gives you multiple Azure Pipelines projects, each pointing to the same GitHub repository. This can trigger multiple pipelines to run each time you push a change to your GitHub repository, which can cause you to run out of free build minutes on our hosted agents. Therefore, it's important that you disable or delete your pipeline before you move on to the next module.

Choose one of the following options.

Option 1: Disable the pipeline

This option disables the pipeline so that it doesn't process further build requests. You can reenable the build pipeline later if you want to. Choose this option if you want to keep your Azure DevOps project and your build pipeline for future reference.

To disable the pipeline:

  1. In Azure Pipelines, navigate to your pipeline.

  2. From the drop-down menu, select Settings:

    A screenshot of Azure Pipelines showing the location of the Settings menu.

  3. Under Processing of new run requests, select Disabled, then select Save.

    Your pipeline will no longer process build requests.

Option 2: Delete the Azure DevOps project

This option deletes your Azure DevOps project, including what's on Azure Boards and your build pipeline. In future modules, you'll be able to run another template that brings up a new project in a state where this one leaves off. Choose this option to delete your Azure DevOps project if you don't need it for future reference.

To delete the project:

  1. In Azure DevOps, go to your project. Earlier, we recommended that you name this project Space Game - web - Tests.

  2. Select Project settings in the lower-left corner of the Azure Devops page.

  3. In the Project details area, scroll down, and then select Delete.

    A screenshot of Azure Pipelines showing the location of the Delete button.

  4. In the window that appears, enter the project name, and then select Delete a second time.

    Your project is now deleted.