hands-on lab

Continuous Integration using Azure Pipelines in Azure DevOps

Intermediate
1h 30m
1,018
4.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Azure Pipelines is a Continuous Integration, Delivery, and Deployment service (CI/CD), allowing for automatic building, testing, and deployment of code. CI/CD is one of the fundamental tools of the DevOps implementation strategy. Implementing Azure Pipelines for Continuous Integration of code (CI) lets developers find bugs earlier in the development and code testing as part of the build process ensures code quality.

In this lab, you will create a build pipeline using Azure Pipeline's classic editor and test run the pipeline both manually and automatically via CI.

Please be aware that this lab creates an Azure DevOps environment that can take up to fifteen minutes to become available. Please ensure you have enough time available before starting the lab.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Create a build pipeline in Azure Pipelines using the classic editor.
  • Run a manual build against the main branch.
  • Trigger an automatic build using pull requests.

Intended Audience

  • Candidates studying for the AZ-400, Azure DevOps Engineer Expert Exam
  • DevOps Engineers
  • DevOps Architects
  • Scrum Masters
  • Project Managers

Prerequisites

Familiarity with the following is recommended:

  • Azure Repos
  • Git Feature-Branching Workflow

The following content can be used to fulfill the prerequisite:

Environment before
Environment after
About the author
Avatar
Adil Islam, opens in a new tab
Cloud Labs Developer
Students
7,751
Labs
39
Learning paths
1

Adil is a Microsoft Certified Trainer, former Azure Engineer, and loves all things Azure. He is a certified Azure Administrator and Azure DevOps Expert and has worked for some of the biggest MSPs in the world (Cognizant, New Signature, CoreAzure). He loves to combine his two passions: cloud and teaching.

Adil specializes in Azure Infrastructure services and has a curiosity for new, in-preview services from Azure, getting his hands familiar with the content before most of the world does. Outside of work, Adil helps run a growing community of IT professionals looking to break into the cloud and regularly runs workshops and webinars.

Covered topics
Lab steps
Automating Code Integration with Azure Pipelines
Initializing a Local Git Repository and Pushing to Azure Repos
Using the Classic Editor to Define a Build Pipeline
Running a Manual Build Process
Creating a Pull Request Trigger Branch Policy
Triggering an Automatic Build using Pull Requests