SlideShare a Scribd company logo
JENKINS INTRODUCTION
@2020 copyright KalKey training
WHAT IS JENKINS
• Jenkins is an open-source automation tool written in Java with plugins built for Continuous Integration
purposes.
• With Jenkins, organizations can accelerate the software development process through automation.
• Jenkins achieves Continuous Integration with the help of plugins. Plugins allows the integration of
Various DevOps stages.
@2020 copyright KalKey training
ADVANTAGES OF JENKINS
• It is an open-source tool with great community support.
• It is easy to install.
• It has 1000+ plugins to ease your work. If a plugin does not exist, you can code it and share it with the
community.
• It is free of cost.
• It is built with Java and hence, it is portable to all the major platforms.
@2020 copyright KalKey training
CONTINUOUS INTEGRATION
• What is Continuous Integration?
• Why do we need it?
• Different phases of adopting Continuous Integration
@2020 copyright KalKey training
@2020 copyright KalKey training
WHY DO WE NEED CONTINUOUS INTEGRATION
• Detect problems or bugs, as early as possible, in the development life cycle.
• Since the entire code base is integrated, built and tested constantly , the potential bugs and errors are
caught earlier in the life cycle which results in better quality software.
@2020 copyright KalKey training
DIFFERENT STAGES OF ADOPTING
CONTINUOUS INTEGRATION
@2020 copyright KalKey training
STAGE 1
@2020 copyright KalKey training
STAGE 2
@2020 copyright KalKey training
STAGE 3
@2020 copyright KalKey training
STAGE 4
@2020 copyright KalKey training
STAGE 5
@2020 copyright KalKey training
CI/CD
ENVIRONMENT
@2020 copyright KalKey training
PIPELINE
@2020 copyright KalKey training
CONTINUOUS DELIVERY
• Continual delivery of code to an environment once the code is ready to ship. This could be staging or
production. The idea is the product is delivered to a user base, which can be QAs or customers for review
and inspection.
@2020 copyright KalKey training
CONTINUOUS DEPLOYMENT
• The deployment or release of code to production as soon as it is ready.
@2020 copyright KalKey training
CONTINUOUS
DEPLOYMENT
@2020 copyright KalKey training
INSTALLATION
AND
CONFIGURATION
@2020 copyright KalKey training
DEMO SESSION
@2020 copyright KalKey training
JENKINS INSTALLATION• We will be using open java for our demo, Get the latest version from http://openjdk.java.net/install/
yum install java-1.8*
yum -y install java-1.8.0-openjdk-devel
• Confirm Java Version and set the java home
java -version
find /usr/lib/jvm/java-1.8* | head -n 3
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-<Java version which seen in the above output>
export JAVA_HOME
PATH=$PATH:$JAVA_HOME
# To set it permanently update your .bash_profile
vi ~/.bash_profile
The output should be something like this,
[root@~]# java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
@2020 copyright KalKey training
CONT…
• You can install jenkins using the rpm or by setting up the repo. We will set up the repo so that we can
update it easily in the future.
• Get the latest version of jenkins from https://pkg.jenkins.io/redhat-stable/ and install
yum -y install wget
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum -y install jenkins
Start Jenkins
# Start jenkins service
service jenkins start
# Setup Jenkins to start at boot,
chkconfig jenkins on
Accessing Jenkins
By default jenkins runs at port 8080, You can access jenkins at
http://YOUR-SERVER-PUBLIC-IP:8080
@2020 copyright KalKey training
THANK YOU,
@2020 copyright KalKey training

More Related Content

PPT
Docker swarm
PPT
Docker swarm
PPTX
Ansible day 1.ppt
PPTX
Continuous Delivery with Jenkins
PDF
Jenkins + Docker = Continuous Improvement
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Jenkins Reviewbot
PDF
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker swarm
Docker swarm
Ansible day 1.ppt
Continuous Delivery with Jenkins
Jenkins + Docker = Continuous Improvement
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Jenkins Reviewbot
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...

What's hot (20)

PPTX
Javaone 2014 - Git & Docker with Jenkins
PDF
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
PDF
CI and CD Across the Enterprise with Jenkins (devops.com Nov 2014)
PDF
Continuous Delivery with Jenkins Workflow
PPTX
AWS ECS LESSONS LEARNED
PDF
Pimp your Continuous Delivery Pipeline with Jenkins workflow (W-JAX 14)
PDF
DockerCon SF 2015: Ben Golub's Keynote Day 1
PDF
Automation CI CD with Gitlab, Java, docker on Hidora - Jelastic
PDF
Jenkins Workflow Webinar - Dec 10, 2014
PDF
Spring to Image
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
PPTX
Jenkins 1
PDF
DCSF19 Containers for Beginners
PPTX
Cd with Github Travis CI and Heroku
PDF
Continuous Delivery to Kubernetes with Jenkins and Helm
PDF
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
PDF
DCEU 18: 5 Patterns for Success in Application Transformation
PPTX
How Docker simplifies CI/CD
PDF
Kubernetes and the Rise of Application-centric Computing
Javaone 2014 - Git & Docker with Jenkins
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
CI and CD Across the Enterprise with Jenkins (devops.com Nov 2014)
Continuous Delivery with Jenkins Workflow
AWS ECS LESSONS LEARNED
Pimp your Continuous Delivery Pipeline with Jenkins workflow (W-JAX 14)
DockerCon SF 2015: Ben Golub's Keynote Day 1
Automation CI CD with Gitlab, Java, docker on Hidora - Jelastic
Jenkins Workflow Webinar - Dec 10, 2014
Spring to Image
Build & Deploy Multi-Container Applications to AWS
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
Jenkins 1
DCSF19 Containers for Beginners
Cd with Github Travis CI and Heroku
Continuous Delivery to Kubernetes with Jenkins and Helm
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
DCEU 18: 5 Patterns for Success in Application Transformation
How Docker simplifies CI/CD
Kubernetes and the Rise of Application-centric Computing
Ad

Similar to Jenkins introduction (20)

PPTX
Jenkins introduction
PDF
Jenkins tutorial
PDF
PPTX
Continous Integration.pptx
PPTX
Contineous integration
PPTX
Getting started with Jenkins
PPTX
varun JENKINS.pptx
ODP
An Introduction To Jenkins
PPTX
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
PDF
Jenkins - Automating Yourself Out Of A Job (One That You Don't Want)
DOC
Continuous integration and deployment with jenkins
PDF
Guide To Jenkins Management Continuous Integration And Useful Plugins Complet...
PPTX
CICD with Jenkins
PPTX
Jenkins an opensource CICD platform for all
PPTX
Continuous integration using jenkins
PPTX
Continous integration with jenkins
PPTX
Introduction to jenkins
PDF
Continuous integration / deployment with Jenkins
PPTX
Jenkins_Continous integration _CD_Presentation.pptx
Jenkins introduction
Jenkins tutorial
Continous Integration.pptx
Contineous integration
Getting started with Jenkins
varun JENKINS.pptx
An Introduction To Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Jenkins - Automating Yourself Out Of A Job (One That You Don't Want)
Continuous integration and deployment with jenkins
Guide To Jenkins Management Continuous Integration And Useful Plugins Complet...
CICD with Jenkins
Jenkins an opensource CICD platform for all
Continuous integration using jenkins
Continous integration with jenkins
Introduction to jenkins
Continuous integration / deployment with Jenkins
Jenkins_Continous integration _CD_Presentation.pptx
Ad

More from Gourav Varma (20)

PPTX
Docker introduction (1)
PPTX
Aws day 4
PPTX
Aws day 3
PPTX
Aws day 2
PPTX
Ansible day 4
PPTX
Ansible day 3
PPTX
Adnible day 2.ppt
PPTX
Version control git day03(amarnath dada)
PPTX
Version control git day02
PPTX
Version control git day01
PPTX
Dev ops
PPTX
Shell programming 2
PPTX
Introduction to linux
PPTX
Final terraform
PPTX
Version control git day03
PPTX
Version control git day02
PPTX
Version control git day01
PPTX
Docker advance topic (2)
PPTX
Docker introduction (1)
PPTX
Docker introduction (1)
Docker introduction (1)
Aws day 4
Aws day 3
Aws day 2
Ansible day 4
Ansible day 3
Adnible day 2.ppt
Version control git day03(amarnath dada)
Version control git day02
Version control git day01
Dev ops
Shell programming 2
Introduction to linux
Final terraform
Version control git day03
Version control git day02
Version control git day01
Docker advance topic (2)
Docker introduction (1)
Docker introduction (1)

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
master seminar digital applications in india
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Business Ethics Teaching Materials for college
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
RMMM.pdf make it easy to upload and study
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Cell Structure & Organelles in detailed.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
master seminar digital applications in india
Abdominal Access Techniques with Prof. Dr. R K Mishra
Week 4 Term 3 Study Techniques revisited.pptx
Pharma ospi slides which help in ospi learning
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Institutional Correction lecture only . . .
PPH.pptx obstetrics and gynecology in nursing
human mycosis Human fungal infections are called human mycosis..pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Business Ethics Teaching Materials for college
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

Jenkins introduction

  • 2. WHAT IS JENKINS • Jenkins is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. • With Jenkins, organizations can accelerate the software development process through automation. • Jenkins achieves Continuous Integration with the help of plugins. Plugins allows the integration of Various DevOps stages. @2020 copyright KalKey training
  • 3. ADVANTAGES OF JENKINS • It is an open-source tool with great community support. • It is easy to install. • It has 1000+ plugins to ease your work. If a plugin does not exist, you can code it and share it with the community. • It is free of cost. • It is built with Java and hence, it is portable to all the major platforms. @2020 copyright KalKey training
  • 4. CONTINUOUS INTEGRATION • What is Continuous Integration? • Why do we need it? • Different phases of adopting Continuous Integration @2020 copyright KalKey training
  • 6. WHY DO WE NEED CONTINUOUS INTEGRATION • Detect problems or bugs, as early as possible, in the development life cycle. • Since the entire code base is integrated, built and tested constantly , the potential bugs and errors are caught earlier in the life cycle which results in better quality software. @2020 copyright KalKey training
  • 7. DIFFERENT STAGES OF ADOPTING CONTINUOUS INTEGRATION @2020 copyright KalKey training
  • 8. STAGE 1 @2020 copyright KalKey training
  • 9. STAGE 2 @2020 copyright KalKey training
  • 10. STAGE 3 @2020 copyright KalKey training
  • 11. STAGE 4 @2020 copyright KalKey training
  • 12. STAGE 5 @2020 copyright KalKey training
  • 15. CONTINUOUS DELIVERY • Continual delivery of code to an environment once the code is ready to ship. This could be staging or production. The idea is the product is delivered to a user base, which can be QAs or customers for review and inspection. @2020 copyright KalKey training
  • 16. CONTINUOUS DEPLOYMENT • The deployment or release of code to production as soon as it is ready. @2020 copyright KalKey training
  • 19. DEMO SESSION @2020 copyright KalKey training
  • 20. JENKINS INSTALLATION• We will be using open java for our demo, Get the latest version from http://openjdk.java.net/install/ yum install java-1.8* yum -y install java-1.8.0-openjdk-devel • Confirm Java Version and set the java home java -version find /usr/lib/jvm/java-1.8* | head -n 3 JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-<Java version which seen in the above output> export JAVA_HOME PATH=$PATH:$JAVA_HOME # To set it permanently update your .bash_profile vi ~/.bash_profile The output should be something like this, [root@~]# java -version openjdk version "1.8.0_151" OpenJDK Runtime Environment (build 1.8.0_151-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode) @2020 copyright KalKey training
  • 21. CONT… • You can install jenkins using the rpm or by setting up the repo. We will set up the repo so that we can update it easily in the future. • Get the latest version of jenkins from https://pkg.jenkins.io/redhat-stable/ and install yum -y install wget sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key yum -y install jenkins Start Jenkins # Start jenkins service service jenkins start # Setup Jenkins to start at boot, chkconfig jenkins on Accessing Jenkins By default jenkins runs at port 8080, You can access jenkins at http://YOUR-SERVER-PUBLIC-IP:8080 @2020 copyright KalKey training
  • 22. THANK YOU, @2020 copyright KalKey training