EXPERTALKS: Apr 2012 - Continuous Integration using Jenkins

1,671 views

Published on

This presentation was part of EXPERTALKS: Apr 2012 conducted at Equal Experts India on 21st Apr 2012. Visit http://meetup.com/expertalks to know more...
-------------------------------------------------------------------------------------
This presentation discusses the concept of Continuous Integration (CI). It also focuses on how the tool Jenkins helps achieve CI on web application development projects.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,671
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

EXPERTALKS: Apr 2012 - Continuous Integration using Jenkins

  1. 1. www.equalexperts.com Continuous Integration using Jenkins Vikram Shitole vshitole@equalexperts.com
  2. 2. www.equalexperts.com What have you done before?
  3. 3. www.equalexperts.com Are you familiar with these?  Dev – The functionality is working on my machine  QA – Its not working on my machine :(
  4. 4. www.equalexperts.com Are you familiar with these?  Dev – I have taken the updates and the code is not compiling  Team – no idea :(
  5. 5. www.equalexperts.com Are you familiar with these?  QA – This functionality is not working  Dev – I have checked yesterday, It was working.  QA – But not now
  6. 6. www.equalexperts.com Are you familiar with these?  BA/Product Owner – Can I see the current application ?  Dev/QA – Give us some time
  7. 7. www.equalexperts.com Are you familiar with these?  Architect – Don't worry about integrating to a third part service now, will look at it before releasing it  Dev – As you say
  8. 8. www.equalexperts.com Are you familiar with these?  QA – Application is very flaky, it suddenly stops working  Team – ?
  9. 9. www.equalexperts.com What solves all these problems ? Continuous Integration !!!
  10. 10. www.equalexperts.com Continuous Integration - Cycle
  11. 11. www.equalexperts.com Continuous Integration – Best Practices  Maintain a code repository  Automate the build  Make the build self-testing  Every commit should be built  Keep the build fast  Test in a clone of a production environment  Everyone can see the results of the latest build  Automate deployment
  12. 12. www.equalexperts.com Advantages  Developer detect and fix integration problem continuously  Early warning of broken/incompatible code  Early warning of conflicting changes  Immediate unit testing of all changes  Constant availability of a “current” build for testing/demo/release  Useful metrics generated – e.g. code coverage
  13. 13. www.equalexperts.com Jenkins
  14. 14. www.equalexperts.com Jenkins for Continuous Integration  Open Source  Easy to install  Easy to use  Multi-technology  Multi-platform  Widely used  Extensible  Free
  15. 15. www.equalexperts.com Jenkins for a Developer  Easy to install  Download one file – jenkins.war  Run one command – java –jar jenkins.war  Easy to use  Create a new job – checkout and build a small project  Checkin a change – watch it build  Create a test – watch it build and run  Fix a test – checkin and watch it pass  Multi-technology  Build C, Java, C#, Python, Perl, SQL, etc.  Test with Junit, Nunit, MSTest, etc.
  16. 16. www.equalexperts.com More Power – Jenkins Plugins  Software configuration management  Builders  Test Frameworks  Notifiers  Static Analyzers
  17. 17. www.equalexperts.com Jenkins Plugins - SCM Version Control Systems  Accurev  Bazaar  BitKeeper  ClearCase  Darcs  Dimensions  Git  Harvest  MKS Integrity  PVCS  StarTeam  Subversion  Team Foundation Server  Visual SourceSafe
  18. 18. www.equalexperts.com Jenkins Plugins – Analyzers Static Analysis  Checkstyle  CodeScanner  DRY  Crap4j  Findbugs  PMD  Fortify  Sonar  FXCop Code Coverage  Emma  Cobertura  Clover  GCC/GCOV
  19. 19. www.equalexperts.com Jenkins Plugins – Other Tools Notification  Twitter  Campfire  Google Calendar  IM  IRC  Lava Lamp  Sounds  Speak Authorization  Active Directory  LDAP Virtual Machines  Amazon EC2  VMWare  VirtualBox  Xen  Libvirt
  20. 20. www.equalexperts.com Thank You !!! Vikram Shitole vshitole@equalexperts.com

×