1 min read
Azure DevOps Updates - October 2022
Azure DevOps continues to evolve with new features across Boards, Repos, Pipelines, and Artifacts. This post covers the latest updates available in October 2022.
Pipelines Improvements
# azure-pipelines.yml
trigger:
branches:
include: [main, develop]
paths:
exclude: ['docs/*', '*.md']
pool:
vmImage: 'ubuntu-latest'
stages:
- stage: Build
jobs:
- job: BuildApp
steps:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
- script: npm ci && npm run build
displayName: 'Build application'
- publish: $(System.DefaultWorkingDirectory)/dist
artifact: webapp
- stage: Test
dependsOn: Build
jobs:
- job: UnitTests
steps:
- download: current
artifact: webapp
- script: npm test
displayName: 'Run tests'
- stage: Deploy
dependsOn: Test
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
jobs:
- deployment: Production
environment: 'production'
strategy:
runOnce:
deploy:
steps:
- download: current
artifact: webapp
- script: echo "Deploying..."
New Features
- Improved YAML pipeline editing
- Enhanced environments and approvals
- Better integration with GitHub
- Template expressions improvements
- Agent pool management updates
Azure DevOps provides enterprise-grade DevOps capabilities with deep Azure integration.