MSDN Tutorials

Your comprehensive guide to Microsoft technologies

Azure DevOps Pipelines

Master the art of Continuous Integration and Continuous Delivery (CI/CD) with Azure DevOps Pipelines. Automate your builds, tests, and deployments to deliver software faster and more reliably.

Key Concepts & Tutorials

YAML Pipelines

YAML Pipelines Deep Dive

Explore the power of defining your pipelines as code using YAML. Understand syntax, triggers, variables, and best practices for managing complex pipelines.

Learn More →
Build Agents

Understanding Build Agents

Learn about Microsoft-hosted agents and self-hosted agents. Configure and manage agents to build and deploy your applications efficiently.

Discover Agents →
Release Pipelines

Automating Deployments with Release Pipelines

Set up automated release pipelines for various environments (Dev, Test, Prod). Implement approval gates and deployment strategies.

Automate Deployments →
Testing

Integrating Automated Tests

Incorporate unit tests, integration tests, and functional tests into your pipelines to ensure code quality and stability.

Integrate Tests →
Azure Functions

Deploying to Azure Functions

Learn how to create and configure pipelines to deploy your Azure Functions applications efficiently.

Deploy Functions →

Code Example: Basic YAML Pipeline


# azure-pipelines.yml

trigger:
- main

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: NodeTool@0
  inputs:
    versionSpec: '18.x'
  displayName: 'Install Node.js'

- script: |
    npm install
    npm run build
  displayName: 'Install and Build'

- task: PublishBuildArtifacts@1
  inputs:
    pathToPublish: 'dist'
    artifactName: 'drop'
  displayName: 'Publish Artifacts'