DevOps Classroomnotes 04/Feb/2023

Spring Pet Clinic Manual Steps for building and packaging

  • Manual steps
sudo apt update
sudo apt install openjdk-17-jdk maven -y
git clone https://github.com/spring-projects/spring-petclinic.git
cd spring-petclinic
mvn package
  • Whenver any changes are made to the spring pet clinic code we want to repeat the above steps, if it fails the changes done by developer might be wrong, environmental issues should be handled by us.
  • Any failure generally will be notified via emails/some alerting mechanism.

Azure DevOps – Pipelines

  • Classic Editor:
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • The error below is about agent not getting allocated.
    Preview
  • Now Navigate to Project Setting and Parallel jobs
    Preview
    Preview
  • Lets try acheiving the same using YAML
---
pool: 'Azure Pipelines'

trigger:
  - main

steps:
  - task: Maven@3
    inputs:
      mavenPomFile: 'pom.xml'
      goals: 'package'
      jdkVersionOption: '1.17'

Azure DevOps Explained

  • Continuous Integration Workflow
    Preview
  • CI can be failed due to following reasons

    • compilation failed
    • unit test failed
    • Quality Gate rejected the commit (because of quality isses)
    • Environmental issues.

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a 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

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube