DevOps Concepts
In Azure DevOps Pipelines , the structure is hierarchical. Diagram shows the typical flow: Trigger → Pipeline → Stage → Job (runs on Agent) → Steps (Script/Task) 1️⃣ Stages A Stage is a major phase of the pipeline . Typical stages represent different parts of the CI/CD lifecycle. Examples: Build Test Deploy stages: YAML - stage: Build - stage: Test - stage: Deploy 2️⃣ Agents An Agent is the machine that runs your pipeline jobs . It executes the tasks like: compiling code running scripts deploying applications Agents can be: Microsoft-hosted agents Provided by Microsoft. Example: Ubuntu Windows macOS Self-hosted agents Your own machines or servers. Example: company build server private VM Example pool: vmImage: 'ubuntu-latest' Here Ubuntu is the agent machine that executes the pipeline. 3️⃣ Jobs A Job is a group of steps executed on one agent . Important rules: Each job runs on one agent Jobs can run in parallel Jobs contai...