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.
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
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
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. 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
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. www.equalexperts.com
More Power – Jenkins Plugins
Software configuration management
Builders
Test Frameworks
Notifiers
Static Analyzers
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