continuous integration using jenkins

3
The New Era Yes, CI improves quality I will start with a 2 liner snippet around Continuous Integration. CI is a blessing for testers as it offers variety of benefits. As an organization, if you're not using Continuous Integration, my word of advice is “Just give it a try”. CI is the practice of merging all developer workspaces several times a day with a shared mainline CI servers constantly monitor source code repositories Avoids or detects compatibility issues early Keeps workspace continually integrated with other developers Reduces less bugs – run a strong test suite against the code Integrates code with mainline, compiles and runs automated tests Deploys working piece of code at any point of time in the system Helps the developer to get early feedback on their code Reduces fixed cost: If a defect is introduced into the system, it can be identified and corrected as early as possible Continuous Integration using Jenkins – It’s a 100% win-win situation Large teams working on same code base Multiple stages of code deployments Conflicts between geographically scattered teams One of the hottest topics today in Application Development and Application Testing in general should be around Continuous Integration. Why there is so much buzz around this term? Well, there are obvious reasons such as it can a) improve the quality of the application b) isolate and resolve defects faster c) drastically improve tools, processes, and test suite. Predominantly, there are few challenges that the testing folks can address quickly with the help of Continuous integration.

Upload: aspire-systems

Post on 21-May-2015

454 views

Category:

Technology


1 download

DESCRIPTION

One of the hottest topics today in Application Development and Application Testing is around Continuous Integration.This article talks about how CI can improve quality and more specifically showcases the strength and features of Jenkins.

TRANSCRIPT

Page 1: Continuous Integration using Jenkins

The New Era

Yes, CI improves quality

I will start with a 2 liner snippet around Continuous Integration.

CI is a blessing for testers as it offers variety of benefits. As an organization, if you're not using Continuous Integration, my word of advice

is “Just give it a try”.

In this blog, I would like to explain why Continuous Integration and Jenkins are the ideal fit for any agile driven process oriented organization.

CI is the practice of merging all developer workspaces several times a day with a shared mainline

CI servers constantly monitor source code repositories

Avoids or detects compatibility issues early

Keeps workspace continually integrated with other developers

Reduces less bugs – run a strong test suite against the code

Integrates code with mainline, compiles and runs automated tests

Deploys working piece of code at any point of time in the system

Helps the developer to get early feedback on their code

Reduces fixed cost: If a defect is introduced into the system, it can be identified and corrected as early as possible

Continuous Integration using Jenkins – It’s a 100% win-win situation

Large teams working on same code base

Multiple stages of code deployments

Conflicts between geographically scattered teams

One of the hottest topics today in Application Development and Application Testing in general should be around Continuous Integration. Why

there is so much buzz around this term? Well, there are obvious reasons such as it can a) improve the quality of the application b) isolate and resolve

defects faster c) drastically improve tools, processes, and test suite. Predominantly, there are few challenges that the testing folks can address

quickly with the help of Continuous integration.

Page 2: Continuous Integration using Jenkins

- Average time spent on the portal increased from 19 sec to 130 sec, because of advanced technologies used in UX engineering

- 30% of development time was saved using our Solution Accelerators

- The Portal can support almost one million profiles and it is further scalable

- The portal was designed in an eventual consistency model, to accommodate enormous number of acs from end users

Jenkins – Features and Strengths

Installation

Licensing Cost

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If it is Continuous integration, then the marriage with Jenkins is made in heaven. Jenkins is a java based Continuous Integration tool and

it has its own capabilities, features and strengths

To conclude with, I would like to list down some of the notable benefits you can get as a tester when you are using Jenkins as a

Continuous Integration tool.

Jenkins comes as a war file WAR file and can be started by simply executing "java-jar jenkins.war". No database, no special installation, no special registration

SCM Tools Supported

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Git, Subversion, TFS, VSS, ClearCase, Accurez, etc.

Open Source

Build Tools Supported

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Ant, Maven, UNIX Shell, Windows batch, etc.

Test Frameworks Supported

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

JUnit, TestNG, NUnit, JSUnit, CppUnit, PHPUnit ,etc.

Console Reporting Allows monitoring the state of each job

Test / Build Matrix Support

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Jenkins helps you run the same set of tests in multiple environments, different operating systems, different databases or any other axis that makes sense to your application

Programming Languages Supported

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Plug-ins Has wide range of plug-ins for end to end Software Management

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Reporting and Monitoring Has wide range of plug-ins for end to end Software Management

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Java, C, Ruby, Perl, PHP, JavaScript etc

Highly configurable system by itself

Wide variety of plugins provide more flexibility

Combination of Jenkins with Ant, Gradle, or other Build Automation tools provides limitless features

Integrate with different Version Control Systems

Direct deployment to production or test environments

Immediate Bug detection by integrating development builds with test automation builds

Push artifact to wide range of repositories

Page 3: Continuous Integration using Jenkins

- The portal was designed in an eventual consistency model, to accommodate enormous number of activities from end users

https://twitter.com/AspireSystems www.linkedin.com/company/aspire-systemshttp://www.slideshare.net/AspireSystems

Our core philosophy of "Attention. Always." communicates our belief in lavishing care and attention on our customers and employees.

Implementation, Support, Maintenance and Transformation!

Slideshare LinkedIn Twitter

Aspire Systems is a global technology services firm serving as a trusted technology partner for our customers. We work with some of the

world's most innovative enterprises and independent software vendors, helping them leverage technology and outsourcing in our specific

areas of expertise. Our services include Product Engineering, Enterprise Transformation, Independent Testing Services and IT Infrastruc-

ture Support services. Aspire is currently working with 65+global firms and helping them on areas like Application Development, Testing,

For more info contact [email protected] or visit www.aspiresys.com

CA , USA l London, UK l SharJah, UAE l Chennai , India

+91 - 044 - 67404000 , +1 - 908 - 218 -50

About Aspire

Find us