Azure Devops:
- Azure DevOps is designed to help development teams plan, develop, test, and deploy software with better collaboration and automation.
Refer here product-overview
- vsts – old name for azure devops
azure devops offers two modles
- azure devops services – cloud hosted
- azure devops server – self hosted/ on-prem
azure devops -structure
Azure DevOps Organizations:
Organization: dev.azure.com/${Organization_name}
projects: (project workspace) devops
Boards
repos
pipelines
test plans
artifcats
projects: data-managment
Boards
repos
pipelines
test plans
artifcats
projects: cmf
Boards
repos
pipelines
test plans
artifcats
process/methodology
- waterfall
- Agile
- Epic—> feature –> userstory –> Task
test plans:
- test plan & test suites: manage organize manual and automated tests
- test cases:n stpes+expected result
- ad-hoc testing /quick test
- Integrating automated tests into azure pipline
azure pipeline
- cicd tool
- pipelines types:
- yaml pipelines – yaml bases configure
azure-pipelines.yaml - classic pipeline (Ui based , older approach)- good to know but less to use
- yaml pipelines – yaml bases configure
- keyconcepts:
- trigger (push, PR, Cron)
- pool -agent/vm which runs the job
- stages, jobs, steps
stages: – stage: ci displayname: build jobs: – job: maven build steps: – task: checkout – task: maven@4 inputs: navenPOMfile
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
# Step 1: Echo start
- script: |
echo "=== Starting VM simulation ==="
displayName: 'Echo Start VM'
# Step 2: Maven build (skip tests)
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean install'
options: '-DskipTests'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
mavenVersionOption: 'Default'
mavenAuthenticateFeed: false
publishJUnitResults: false
displayName: 'Maven Build (Skip Tests)'
# Step 3: Echo stop
- script: |
echo "=== Stopping VM simulation ==="
displayName: 'Echo Stop VM'
