DevOps Classroom notes 19/Apr/2026

Azure DevOps

  • YAML reference Refer Here
  • Pipeline structure
  • Azure pipelines are yaml files and are generally nameds as azure-pipeline.yaml
  • A step can be any of this task | script | powershell | pwsh | bash | checkout | download | downloadBuild | getPackage | publish | template | reviewApp
  • Azure DevOps Task list Refer Here
  • Azure DevOps Extensions are available Refer Here

Basic pipeline

  • Overview
---
name: build
pool: Default
trigger:
  - main
pr:
  - main
stages:
  - stage: build
    displayName: Build the Maven Project - Stage
    jobs:
      - job: build
        displayName: Build the Maven Project - Job
        steps:
          - bash: mvn package
            displayName: Maven build step
  • Jobs in parallel
---
name: build
trigger:
  - main
pr:
  - main
stages:
  - stage: build
    displayName: Build the Maven Project - Stage
    jobs:
      - job: selfhostedbuild
        pool: Default
        displayName: Build the Maven Project - Self Hosted
        steps:
          - bash: mvn package
            displayName: Maven build step
      - job: adohostedbuild
        pool: 
          vmImage: ubuntu-latest
        displayName: Build the Maven Project - Microsoft Hosted
        steps:
          - bash: mvn package
            displayName: Maven build step
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio
Exit mobile version
%%footer%%