Exercise - Clean up your Azure DevOps environment


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.


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.

Move the work item to Done

In this part, you move the work item that you assigned to yourself earlier in this module, Create unit tests, to the Done column.

In practice, the definition of "Done" often means that working software is in the hands of your users. In this unit, for learning purposes, you mark this work as complete because you have working unit tests and code coverage tests set up in your build pipeline.

At the end of each sprint, or work iteration, you and your team might hold a retrospective meeting. Here, you share the work you completed, what went well in the sprint, and what could be improved.

To complete the work item:

  1. In Azure DevOps, go to Boards and then, in the left pane, select Boards.

  2. Move the Create unit tests work item from the Doing column to the Done column.

    A screenshot of Azure Boards showing the Create unit tests card in the Done column.

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 and 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.