Jenkins Continuous Integration Tutorial

Jenkins configuration with Maven and GitHub

Git is the most widely used modern version control system in the world today, which allows multiple persons to safely work on the same project without hampering other team members. As a part of a team using Git, You and your team members will clone working copy of a local repository from Git server. You/team will add and commit the test scripts that are developed locally and push your changes to the Git.

Configure maven project in jenkins example

As we all know, maven is a build / project management tool, based on the concept of a project object model (POM) which contains every information about your project. Maven allows a project to build using its project object model to manage builds, dependencies, releases and documentation which are all managed from the pom.xml file.

How to Install Jenkins

In previous article we have seen about 'Jenkins' and what all Jenkins can do with its advantages.

Installing Jenkins is very simple, you can just get started by a single command line. That's it. You can access it with URL 'localhost:8080' . Let us see how to do that in below 5 steps. Before proceeding to install Jenkins, Jenkins requires Java 7 or above to function and Java8 is recommended as system requirement to run Jenkins.

What is Jenkins and Use of it?

Jenkins is an leading open source continuous integration server built with Java. It is used to build and test software projects continuously making it easier to integrate changes to the project. It provides 985 plugins to support building and testing virtually any project.

Below are the advantages of Jenkins :

1. Its an open source tool with great community support.

Importance of Continuous Integration

Continuous Integration (CI) is a practice that requires developers to integrate their code into a shared repository frequently at least daily, which leads to multiple integrations per day by different developers. Each commit made by the developers are then verified by an automated build, which detects problems early and communicate the team members.