(01)Install Azure DevOps Pipelines
Linux
1# Install Azure DevOps CLI extension2az extension add --name azure-devops3az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG project=YOUR_PROJECTMicrosoft CI/CD for Azure and multi-cloud deploys
What is this?
Azure DevOps Pipelines builds and deploys code on Microsoft-hosted or self-hosted agents.
Where to create or edit the main configuration — paths below match the setup steps.
azure-pipelines.ymlLocation: Repository root (or path set in Azure DevOps UI)
Triggers, pool, and build/deploy steps
Step 01
1# Install Azure DevOps CLI extension2az extension add --name azure-devops3az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG project=YOUR_PROJECTStep 02
Azure DevOps reads azure-pipelines.yml from the repository root (unless overridden in project settings).
1# From repo root — same level as README:2cat > azure-pipelines.yml << 'EOF'3trigger:4 - main5pool:6 vmImage: ubuntu-latest7steps:8 - task: NodeTool@09 inputs:10 versionSpec: "20.x"11 - script: npm ci && npm test12 displayName: npm install and test13EOF14git add azure-pipelines.yml && git commit -m "Add Azure Pipeline" && git pushStep 03
1az pipelines list