/JD_Jenkins

This repository will contains leaning about the jenkins.

JD Jenkins Leanrnings

  1. simplilearn1 : https://www.youtube.com/watch?v=FX322RVNGj4
  2. edureka : https://www.youtube.com/watch?v=p7-U1_E_j3w

simplilearn1

Overview:

Browser

Browser


DevOps

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

DevOps Tools

Browser


DevOps Process

Browser

Browser

Browser


DevOps Advantages

Browser

Browser


Jenkins Installation

Browser

Browser

Browser

Browser

Before Jenkins

Browser

What is Jenkins?

Browser

What is Continuous Integration?

Browser

Continuous Integration Tools

Browser

Features of Jenkins

Browser

Jenkins Pipeline

Browser

Jenkins Architecture

Browser

Master-Slave Architecture

Browser

Jenkins Case Study

Key Takeaways

Browser


Jenkins Practice

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Browser

Distributed Build

Browser

Browser

Browser

Browser


Jenkins Pipeline

Browser

Browser

Browser

Browser

Browser

pipeline basic syntax

pipeline {
    agent any
	stages {
        stage('Git-Checkout') {
            steps {
                echo 'Checking out from git'
            }
        }
		
	    stage('Build') {
            steps {
                echo 'Building the checkout project'
            }
        }
		
	    stage('Unit-Test') {
            steps {
                echo 'Running the unit test'
            }
        }
		
        stage('Quality-Gate') {
            steps {
                echo 'Verfying the quality gates'
            }
        }
    }
	post {
	    always{
		   echo 'This will always run'
		} 
		success{
		   echo 'This will run only if sucessful'
		} 
		failure{
		   echo 'This will run only if failed'
		} 
		unstable{
		   echo 'This will run only if the run was marked as unstable'
		} 
		changed{
		   echo 'This will only run if state  of the pipeline has been changed'
		   echo 'For example the pipeline was previouly failing but now sucessful'
		} 
	}
}

pipeline basic syntax with github

pipeline {
    agent any
	stages {
        stage('Git-Checkout') {
            steps {
                echo 'Checking out from git';
                git 'https://github.com/jdbirla/Pipeline_Script.git'
            }
        }
		
	    stage('Build') {
            steps {
                echo 'Building the checkout project';
                bat 'Build.bat'
            }
        }
		
	    stage('Unit-Test') {
            steps {
                echo 'Running the unit test';
                bat 'Unit.bat'
            }
        }
		
        stage('Quality-Gate') {
            steps {
                echo 'Verfying the quality gates';
                bat 'Quality.bat'
            }
        }
        
        stage('Deploy') {
            steps {
                echo 'Deploying to stage env for more tests';
                bat 'Deploy.bat'
            }
        }
    }
	post {
	    always{
		   echo 'This will always run'
		} 
		success{
		   echo 'This will run only if sucessful'
		} 
		failure{
		   echo 'This will run only if failed'
		} 
		unstable{
		   echo 'This will run only if the run was marked as unstable'
		} 
		changed{
		   echo 'This will only run if state  of the pipeline has been changed'
		   echo 'For example the pipeline was previouly failing but now sucessful'
		} 
	}
}

Browser

Browser

Browser