Advantages of Jenkins
Tags: agilewebandappde, continuousintegrati, devops, docker
Published: 2017-10-25 07:12:25

---
title: "Advantages of Jenkins"
published: true
tags: Agile web and app de,Continuous Integrati,DevOps,Docker
canonical_url: https://apiumhub.com/tech-blog-barcelona/advantages-of-jenkins/
---

Dev and Ops are no longer exclusively separate roles within the IT department. Today, DevOps engineers reshape the way [IT teams](https://apiumhub.com/software-developer-jobs-barcelona/) operate; improving collaboration between developers, sysadmins, and testers.   
 They also improve deployment rates, defect detection, and feature delivery. Essentially, it’s rooted in the idea that building, testing and releasing software can run more smoothly and automatically if the appropriate team of professionals is working together. You may find more info about it [here](https://apiumhub.com/tech-blog-barcelona/devops-technologies-benefits/). But in this article we would like to focus more on continuous integration tool: Jenkins; key advantages of&nbsp;Jenkins as well as how to do [continuous integration](https://apiumhub.com/tech-blog-barcelona/benefits-of-continuous-integration/) with Jenkins!&nbsp;

&nbsp;

## Tools for DevOps

&nbsp;

But a software development process can’t work efficiently without right tools. Similarly, in the case of DevOps, you can always benefit from the right set of tools. These tools help in information sharing, process automation, reduction in deployment time, in continuous deployment, etc.

&nbsp;

[![Advantages of Jenkins](https://apiumhub.com/wp-content/uploads/2017/10/DevOps-Apiumhub-1024x905.png)](https://apiumhub.com/wp-content/uploads/2017/10/DevOps-Apiumhub.png)

&nbsp;

&nbsp;

The DevOps tools can be categorized in seven groups depending on its purpose in the particular stage of DevOps lifecycle:

&nbsp;

1. Code (Version Control System): Git
2. Build (Continuous Integration): [Jenkins](https://en.wikipedia.org/wiki/Jenkins_(software)), Travis, TeamCity
3. Test (Continuous testing, inspection): JMeter, Sonarqube
4. Package (Artifact repository): Artifactory
5. Configure & Release ( Change management, containerization ): Docker Compose
6. Infrastructure ( Orchestration, cloud ): Docker Swarm, Kubernetes, Mesos, AWS,Gcloud,Nexus
7. Monitor ( Manage the performance): ELK, Grafana

&nbsp;

## So, what is Jenkins?

&nbsp;

In today’s DevOps world, continuous delivery and deployment are critical to delivering high-quality software product faster than ever before. Jenkins is an open-source continuous integration server written in Java. It is by far the most widely used tool for managing continuous integration builds and delivery pipelines. It helps developers in building and testing software continuously. It increases the scale of automation and is quickly gaining popularity in DevOps circles. One of the key advantages of Jenkins is that it requires little maintenance and has built-in GUI tool for easy updates. Jenkins also provides customized solution as there are over 400 plugins to support building and testing virtually any project. Basically, Jenkins integrates development life-cycle processes of all kinds, including build, document, test, package, stage, deploy, static analysis and much more.  
 With Jenkins you could configure the alerts in several ways, for example, you receive the email notification, or a pop-up, etc. and actually automate it. By doing the right configuration, you get fast feedback. You will always know, right after you broke the build. You will get to know what the reason for job fail was and you can also get to know how you can revert it back.

&nbsp;

## Continuous Integration with Jenkins

&nbsp;

Let us imagine a scenario where the complete source code of the application was built and then deployed on a test server for testing:

First, a developer commits the code to the source code repository.   
 Meanwhile, the Jenkins server checks the repository at regular intervals for changes.  
 Soon after a commit occurs, the Jenkins server detects the changes that have occurred in the source code repository.   
 Jenkins will pull those changes and will start preparing a new build.   
 If the build fails, then the concerned team will be notified.   
 If build is successful, then Jenkins deploys the built in the test server.  
 You could configure the pipeline (the script to run) to create the build with several steps:  
 Prepare, test ([unit and integration tests](https://apiumhub.com/tech-blog-barcelona/top-software-testing-techniques/)), package, publish, deploy.  
 After running it, Jenkins generates a feedback, if these constraints are ok, the artifact is valid. And then Jenkins notifies the developers about the build and test results.   
 It will continue checking the source code repository for changes made in the source code and the whole process keeps on repeating (functional tests).

&nbsp;

## What are the&nbsp;advantages of Jenkins ?

&nbsp;

- It is open source and it is user-friendly, easy to install and does not require additional installations or components.
- It is free of cost.
- Easily Configurable. Jenkins can be easily modified and extended. It deploys code instantly, generates test reports. Jenkins can be configured according to the requirements for continuous integrations and continuous delivery.
- Platform Independent. Jenkins is available for all platforms and different operating systems, whether OS X, Windows or Linux.
- Rich Plugin ecosystem. The extensive pool of plugins makes Jenkins flexible and allows building, deploying and automating across various platforms.
- Easy support. Because it is open source and widely used, there is no shortage of support from large online communities of [agile teams](https://dev.to/apium_hub/what-you-should-know-when-building-an-agile-team).
- Developer writes the tests to detect the errors of his/her code as fast as possible. So the developer’s time is saved without wasting on large-scale error-ridden integrations.
- Issues are detected and resolved almost right away which keeps the software in a state where it can be released at any time safely.
- Most of the integration work is automated. Hence integration issues are less. This saves both time and money over the lifespan of a project.

&nbsp;

And [Docker](https://apiumhub.com/tech-blog-barcelona/top-benefits-using-docker/) in conjunction with Jenkins is having a profound effect on development teams. Everyone knows that Docker streamlines development and makes deployment vastly easier.   
 Together Docker, Jenkins and its integrated ecosystem provide the coordinating software infrastructure for agile development.

&nbsp;

## If you found this article with key advantages of Jenkins interesting, you may like…

[DevOps technologies & tools](https://apiumhub.com/tech-blog-barcelona/devops-technologies-benefits/)

[10 benefits you get by using Docker&nbsp;](https://apiumhub.com/tech-blog-barcelona/top-benefits-using-docker/)

[Top benefits of continuous integration&nbsp;](https://apiumhub.com/tech-blog-barcelona/benefits-of-continuous-integration/)

[Advantages of Test Driven Development](https://apiumhub.com/tech-blog-barcelona/advantages-of-test-driven-development/)

[5 benefits of agile project management&nbsp;](https://apiumhub.com/tech-blog-barcelona/benefits-of-agile-project-management/)

[Top software testing techniques](https://apiumhub.com/tech-blog-barcelona/top-software-testing-techniques/)&nbsp;

[Top 8 benefits of unit testing](https://apiumhub.com/tech-blog-barcelona/top-benefits-of-unit-testing/)

&nbsp;

The post [Advantages of Jenkins](https://apiumhub.com/tech-blog-barcelona/advantages-of-jenkins/) appeared first on [Apiumhub](https://apiumhub.com).