Azure DevOps is Microsoft's all-in-one development platform, bundling Git repos, work-item tracking (Boards), CI/CD (Pipelines), artifact feeds, and manual/automated test management (Test Plans) into one suite. It's the #6 most-used dev collaboration platform, reported in roughly 16.6% of developer surveys. It shows up heavily in enterprises already standardized on Microsoft infrastructure, since it integrates tightly with Azure cloud services and Active Directory identity.
Azure Pipelines defines CI/CD as YAML in an azure-pipelines.yml file at the repo root, run by Microsoft-hosted or self-hosted build agents.
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '20.x'
displayName: 'Install Node.js'
- script: |
npm install
npm run build
npm test
displayName: 'Install, build, and test'
Sign in with a Microsoft account at dev.azure.com, create an organization and project, then push your code to the built-in Git repo.
# clone a new Azure Repos Git repo
git clone https://dev.azure.com/myorg/myproject/_git/myrepo
# or connect an existing repo
git remote add origin https://dev.azure.com/myorg/myproject/_git/myrepo
git push -u origin main