DevOps Classroom Series – 26/Jan/2020 (Azure DevOps)

Azure Pipeline

  • Pipelines can be created using
    • Classic UI
    • YAML (azure-pipelines.yml)
  • For more info refer here

Azure Pipeline Concepts

Preview

Azure Pipeline Examples

  • Try all the four languages Refer Here

  • For the complete eco system Refer Here

  • Consider this simple azure-pipelines.yml

trigger:
- master

stages:
  - stage: build
    jobs:
      - job: 'build'
        pool: 
          vmImage: 'ubuntu-latest'
        steps:
          - task: Maven@3
            inputs:
              mavenPomFile: pom.xml
              goals: package
              publishJUnitResults: true
              testResultsFiles: '**/surefire-reports/TEST-*.xml'
              javaHomeOption: 'JDKVersion'
              mavenVersionOption: 'Default'         
              
  - stage: deploy
    jobs:
      - job: 'installanduseterraform'
        pool:
          vmImage: 'ubuntu-latest'
        steps:
          - script: echo 'install terrform'
          - script: echo 'executing terraform apply command'  
  • For azure pipelines YAML specification Refer Here

Leave a Reply

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

About learningthoughtsadmin