SlideShare a Scribd company logo
@benjunni
CONTINUOUS INTEGRATION
WITH JENKINS AND GIT
B
My name is Benjamin
I build cool web stuff
+256 794 600 025
www.lutaaya.net
me@lutaaya.net
@benjunni
Joe and Brenda are working on a project
Theyeachimplement afew classes
codethem
ensuretheyarewelltested
Whey they're done, they Integrate them
Everythingbreaks!
SCENARIO (COMMON)
That awkward moment near the end of the project
when everyone realizes that none of their classes
interoperate correctly
INTEGRATION HELL
Integration HELL is extremely risky for a project
Difficult to determine how long it will take to
resolve the integration problems
Exceedingthebudget
Exceedingtheschedule
INTEGRATION HELL
Originated form eXtreme Programming (XP)
Mitigates risks associated with integrating software
Avoids integration hell
Integrate early and often
CONTINUOUS INTEGRATION (CI)
Originated form eXtreme Programming (XP)
Mitigates risks associated with integrating software
Avoids integration hell
Integrate early and often
CONTINUOUS INTEGRATION WORK FLOW
Written in Java
CI software
Waytotestcode/functionalitychanges
Sendouttestresultsonpass/fail/othercriteria
Manage deployments
Tons of plugins
SVN/Git/Mercurial/Bazaar/etc
Selenium,Phing
Notifications
https://jenkins-ci.org/
JENKINS
Free and open source
Version control system
Can handle small to very large projects
Fast and efficient
https://git-scm.com
GIT
Benefits of a CI Server
Developers might forget to run the tests
Dont breakthebuild
It might take too long to run the tests
We might need to test the code in
various environments
Differentarchitectures(32-bit/64-bitIntel,ARM,PowerPC)
Differentplatforms(Windows,Linux,Mac,Solaris,HP-UX,AIX)
BENEFITS OF A CI SERVER
Reports provide useful insights to the team
Can track metrics line line coverage
Percentageoflinesexecutedbytheprogram'stests
Can run all sorts of utilities on your code
checksyle,findbugs,...
Can deploy automatically
Deployawebprojecttoastagingserver
Deploylateststablebuildofadesktop applicationtoour
websitefordownload
BENEFITS OF A CI SERVER
Install Jenkins
Set up a git server: (Can even use GitHub)
Configure Git to notify Jenkins of the changes
Configure Jenkins to;
Clonerepository when notification received
Buildtheproject
Runtheproject's tests
Generatelinecoveragereports
TASKS INVOLVED
B
My name is Benjamin
I build cool web stuff
+256 794 600 025
www.lutaaya.net
me@lutaaya.net
@benjunni

More Related Content

What's hot (20)

PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
PPTX
Jenkins CI
Viyaan Jhiingade
 
PPTX
Jenkins tutorial
Mamun Rashid, CCDH
 
PPTX
Jenkins Introduction
Pavan Gupta
 
PDF
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
PDF
Cypress - Best Practices
Brian Mann
 
PDF
Jenkins 101: Getting Started
R Geoffrey Avery
 
PPT
Jenkins Overview
Ahmed M. Gomaa
 
PDF
Git challenges
Rachel M. Carmena
 
PDF
Integration test
sadegh salehi
 
PPTX
Jenkins tutorial for beginners
BugRaptors
 
PPTX
Jenkins
MohanRaviRohitth
 
PDF
Introduction to CICD
Knoldus Inc.
 
PDF
Jenkins tutorial
HarikaReddy115
 
PPTX
Source control
Sachithra Gayan
 
ODP
An Introduction To Jenkins
Knoldus Inc.
 
ODP
Introduction to Version Control
Jeremy Coates
 
PPTX
Introduction to CI/CD
Steve Mactaggart
 
PPTX
An Introduction to Maven
Vadym Lotar
 
PPTX
Git Lab Introduction
Krunal Doshi
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
Jenkins CI
Viyaan Jhiingade
 
Jenkins tutorial
Mamun Rashid, CCDH
 
Jenkins Introduction
Pavan Gupta
 
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
Cypress - Best Practices
Brian Mann
 
Jenkins 101: Getting Started
R Geoffrey Avery
 
Jenkins Overview
Ahmed M. Gomaa
 
Git challenges
Rachel M. Carmena
 
Integration test
sadegh salehi
 
Jenkins tutorial for beginners
BugRaptors
 
Introduction to CICD
Knoldus Inc.
 
Jenkins tutorial
HarikaReddy115
 
Source control
Sachithra Gayan
 
An Introduction To Jenkins
Knoldus Inc.
 
Introduction to Version Control
Jeremy Coates
 
Introduction to CI/CD
Steve Mactaggart
 
An Introduction to Maven
Vadym Lotar
 
Git Lab Introduction
Krunal Doshi
 

Viewers also liked (20)

PPTX
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
PPTX
Automating Deployment Between Orgs Using Git & Continuous Integration
Sebastian Wagner
 
PDF
Introduction to Continuous Integration with Jenkins
Eric Hogue
 
PDF
Pimp your Continuous Delivery Pipeline with Jenkins workflow (W-JAX 14)
CloudBees
 
PDF
Caché github continuous intergration
InterSystems
 
PDF
Continuous integration сайтов на Drupal: Jenkins, Bitbucket, Features, Drush ...
DrupalCamp MSK
 
PDF
How to Setup Continuous Integration With Git, Jenkins, and Force.com
Salesforce Developers
 
PDF
Jenkins Reviewbot
Yardena Meymann
 
PDF
Puppet & Jenkins
Matthew Barr
 
PDF
Practical PHP Deployment with Jenkins
Adam Culp
 
PPTX
Introduction to jenkins
Abe Diaz
 
PPTX
Continuous integration using jenkins
Vinay H G
 
PPTX
Introduction to Continuous Integration with Jenkins
Brice Argenson
 
PPTX
Los vatos
losvatoslocos
 
PPTX
Juc west-how to build a jenkins db the wrong way!
Michael Barbine
 
PPTX
Jenkins Workflow - An Introduction
Ben Snape
 
PPTX
20160929 android taipei Sonatype nexus on amazon ec2
TSE-JU LIN(Louis)
 
PDF
Using Jenkins XML API
Anton Weiss
 
PDF
DevOps – SonarQube
Delta-N
 
PDF
Continuous Cross Platform Mobile App Development using Jenkins Build Server
Adam Paxton
 
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
Automating Deployment Between Orgs Using Git & Continuous Integration
Sebastian Wagner
 
Introduction to Continuous Integration with Jenkins
Eric Hogue
 
Pimp your Continuous Delivery Pipeline with Jenkins workflow (W-JAX 14)
CloudBees
 
Caché github continuous intergration
InterSystems
 
Continuous integration сайтов на Drupal: Jenkins, Bitbucket, Features, Drush ...
DrupalCamp MSK
 
How to Setup Continuous Integration With Git, Jenkins, and Force.com
Salesforce Developers
 
Jenkins Reviewbot
Yardena Meymann
 
Puppet & Jenkins
Matthew Barr
 
Practical PHP Deployment with Jenkins
Adam Culp
 
Introduction to jenkins
Abe Diaz
 
Continuous integration using jenkins
Vinay H G
 
Introduction to Continuous Integration with Jenkins
Brice Argenson
 
Los vatos
losvatoslocos
 
Juc west-how to build a jenkins db the wrong way!
Michael Barbine
 
Jenkins Workflow - An Introduction
Ben Snape
 
20160929 android taipei Sonatype nexus on amazon ec2
TSE-JU LIN(Louis)
 
Using Jenkins XML API
Anton Weiss
 
DevOps – SonarQube
Delta-N
 
Continuous Cross Platform Mobile App Development using Jenkins Build Server
Adam Paxton
 
Ad

Similar to CONTINUOUS INTEGRATION WITH JENKINS AND GIT (20)

PDF
Let’s start Continuous Integration with jenkins
Tomohide Kakeya
 
PDF
JenkinsCIdocumentations-removedcredentials.docx
Md. Abdul Hasib (Sazzad)
 
PPTX
Contineous integration
Radhakrishna Mutthoju
 
PPTX
OVerview of Jenkins - A WIP pPT that needs to be refined
removed_7e30d0915f14b559919f338a71e486d1
 
PPT
Introduction to continuous integration
Philip Johnson
 
PPTX
Continuous Integration (& Mr Jenkins)
Ciro Donato Caiazzo
 
PPTX
Continuous integration with Jenkins
Mohammad Hossein Rimaz
 
PDF
Jenkins
penetration Tester
 
PPTX
Continuous integration ( jen kins travis ci)
Sadani Rodrigo
 
PDF
Continuous Integration Introduction
Fáber D. Giraldo
 
PPT
Continuous Integration (Jenkins/Hudson)
Dennys Hsieh
 
PPTX
Continuous integration - ThangTD
Framgia Vietnam
 
PPTX
Lets talk about CI CD Pipeline in Agile
Poonam Panday
 
ODP
Learn Continuous Integration with Jenkins All in One Guide
Sam Dias
 
PPT
Continuous Integration: A Case Study
IndicThreads
 
PPTX
Continuous integration
Yoshan madhumal
 
PPT
Continuous integration
Andrey Zhupanenko
 
PPTX
Jenkins Part 1
Mohammed246
 
ODP
Continous integration
Jeremy Wilken
 
PPT
Jenkins is an open source automation server. It helps automate the parts of s...
VijayB953898
 
Let’s start Continuous Integration with jenkins
Tomohide Kakeya
 
JenkinsCIdocumentations-removedcredentials.docx
Md. Abdul Hasib (Sazzad)
 
Contineous integration
Radhakrishna Mutthoju
 
OVerview of Jenkins - A WIP pPT that needs to be refined
removed_7e30d0915f14b559919f338a71e486d1
 
Introduction to continuous integration
Philip Johnson
 
Continuous Integration (& Mr Jenkins)
Ciro Donato Caiazzo
 
Continuous integration with Jenkins
Mohammad Hossein Rimaz
 
Continuous integration ( jen kins travis ci)
Sadani Rodrigo
 
Continuous Integration Introduction
Fáber D. Giraldo
 
Continuous Integration (Jenkins/Hudson)
Dennys Hsieh
 
Continuous integration - ThangTD
Framgia Vietnam
 
Lets talk about CI CD Pipeline in Agile
Poonam Panday
 
Learn Continuous Integration with Jenkins All in One Guide
Sam Dias
 
Continuous Integration: A Case Study
IndicThreads
 
Continuous integration
Yoshan madhumal
 
Continuous integration
Andrey Zhupanenko
 
Jenkins Part 1
Mohammed246
 
Continous integration
Jeremy Wilken
 
Jenkins is an open source automation server. It helps automate the parts of s...
VijayB953898
 
Ad

Recently uploaded (20)

PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
July Patch Tuesday
Ivanti
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Français Patch Tuesday - Juillet
Ivanti
 
July Patch Tuesday
Ivanti
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 

CONTINUOUS INTEGRATION WITH JENKINS AND GIT

  • 2. B My name is Benjamin I build cool web stuff +256 794 600 025 www.lutaaya.net [email protected] @benjunni
  • 3. Joe and Brenda are working on a project Theyeachimplement afew classes codethem ensuretheyarewelltested Whey they're done, they Integrate them Everythingbreaks! SCENARIO (COMMON)
  • 4. That awkward moment near the end of the project when everyone realizes that none of their classes interoperate correctly INTEGRATION HELL
  • 5. Integration HELL is extremely risky for a project Difficult to determine how long it will take to resolve the integration problems Exceedingthebudget Exceedingtheschedule INTEGRATION HELL
  • 6. Originated form eXtreme Programming (XP) Mitigates risks associated with integrating software Avoids integration hell Integrate early and often CONTINUOUS INTEGRATION (CI)
  • 7. Originated form eXtreme Programming (XP) Mitigates risks associated with integrating software Avoids integration hell Integrate early and often CONTINUOUS INTEGRATION WORK FLOW
  • 8. Written in Java CI software Waytotestcode/functionalitychanges Sendouttestresultsonpass/fail/othercriteria Manage deployments Tons of plugins SVN/Git/Mercurial/Bazaar/etc Selenium,Phing Notifications https://jenkins-ci.org/ JENKINS
  • 9. Free and open source Version control system Can handle small to very large projects Fast and efficient https://git-scm.com GIT
  • 10. Benefits of a CI Server Developers might forget to run the tests Dont breakthebuild It might take too long to run the tests We might need to test the code in various environments Differentarchitectures(32-bit/64-bitIntel,ARM,PowerPC) Differentplatforms(Windows,Linux,Mac,Solaris,HP-UX,AIX) BENEFITS OF A CI SERVER
  • 11. Reports provide useful insights to the team Can track metrics line line coverage Percentageoflinesexecutedbytheprogram'stests Can run all sorts of utilities on your code checksyle,findbugs,... Can deploy automatically Deployawebprojecttoastagingserver Deploylateststablebuildofadesktop applicationtoour websitefordownload BENEFITS OF A CI SERVER
  • 12. Install Jenkins Set up a git server: (Can even use GitHub) Configure Git to notify Jenkins of the changes Configure Jenkins to; Clonerepository when notification received Buildtheproject Runtheproject's tests Generatelinecoveragereports TASKS INVOLVED
  • 13. B My name is Benjamin I build cool web stuff +256 794 600 025 www.lutaaya.net [email protected] @benjunni