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

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 ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%