- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Build and Operate Your First Azure CI/CD Pipeline
In this guided lab, you’ll play the role of a DevOps engineer at your company who’s been asked to configure a pipeline for an ASP.NET Core application using Azure DevOps. You’ll import an existing repository into Azure Repos, configure a build pipeline in Azure Pipelines (backed by a self-hosted Linux agent), enforce a specific .NET SDK, and validate the pipeline by committing a small code change that kicks off a run. Finally, you’ll review pipeline results and learn how to diagnose and resolve a syntax error build failure to trigger a new build. By the end, you’ll have a working pipeline that automatically builds on each commit to the main branch.
Lab Info
Table of Contents
-
Challenge
Connect code and build foundation
Set up an Azure DevOps project and connect source control so your application code and pipeline definition live together. Configure a self-hosted Linux agent to run builds reliably within the lab environment.
-
Challenge
Run a build pipeline
Run a pipeline using a YAML deployment file that restores, builds, and packages the app on the self-hosted agent, with automatic runs on commits to main. Publish the compiled output as a reusable pipeline artifact to support consistent, future deployments.
-
Challenge
Validate, monitor, and troubleshoot
Introduce a small, intentional pipeline error, use run logs to diagnose the issue, and update the configuration to return to a successful (green) build.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.