Azure Pipelines Introduction

What is Azure Pipelines?

Azure Pipelines is a cloud service that supports continuous integration (CI) and continuous delivery (CD) to build, test, and deploy your code to any platform. It works with any language, any platform, and any cloud.

Key Benefits

Getting Started

  1. Sign in to Azure DevOps and create a project.
  2. Navigate to Pipelines → Create Pipeline.
  3. Select your code repository (e.g., Azure Repos Git).
  4. Choose YAML or Classic Editor to define your pipeline.
  5. Run the pipeline and review the build results.

Simple YAML Example

trigger:
- main

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: UseDotNet@2
  inputs:
    packageType: 'sdk'
    version: '7.x'

- script: dotnet build --configuration Release
  displayName: 'Build'

- script: dotnet test --no-build --verbosity normal
  displayName: 'Test'

Next Steps

Explore more detailed guides: