DevOps Classroomnotes 17/Jun/2023

Quick Overview of Continuous Delivery Pipeline

  • Overview
    Preview
  • This pipeline will be triggered by the changes in the Version Control Systems (VCS)

WOW (Ways of Working)

  • Figure out the manual steps
  • Implement manual steps in Pipeline depending on your ci/cd engine
  • Steps for gameoflife Refer Here
  • Softwares requried
    • git
    • jdk 8
    • maven
sudo apt update
sudo apt install openjdk-8-jdk maven -y
  • Manual steps
git clone https://github.com/wakaleo/game-of-life.git
cd game-of-life
mvn package

Preview
* Pipeline in Jenkins

pipeline {
    agent any
    stages {
        stage ('vcs') {
            steps {
                git 'https://github.com/wakaleo/game-of-life.git'
            }
        }
        stage ('build') {
            steps {
                sh 'mvn package'
            }
        }
    }
}
  • Pipeline in Azure DevOps
steps:
- task: Maven@4
  inputs:
    mavenPomFile: 'pom.xml'
    goals: 'package'

Git

  • Git is a Distributed Version Control System
  • Git is Hosted by many providers
    • GitHub
    • Azure Source Repos
    • Code Commit
    • Bit Bucket
    • Git Lab

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 Wordpress Development 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