DevOps Classroomnotes 17/Jun/2023

Quick Overview of Continuous Delivery Pipeline

  • Overview
  • 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


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

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

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%%