Continuous integration Tool

Install Jenkins Continuous integration Tool

Install Jenkins Continuous integration, Jenkins is an Open Source automation server which is written in java. It helps us to automate the software development with Continuous integration.

This does compile the code if this finds any error it reports to the development team by doing this it’s reducing the code compile time of development team.

It increases the software delivery process as if codes fails at some moment it sends the report to developer team to see the issues. If any changes comes in software it starts complies them.

Check Out : Jenkins Port Change

So now development team do not need to wait for compilation of whole code Jenkins helps them to compile the code only changes made in the code.

There are two method of installing Jenkins either by adding repo or manually download the Jenkins package from here Download Jenkins

First Method

Jenkins uses the Port 8080 and the web access URL is IP:8080/Jenkins

This will register the key.

Second Method

Download the package and install it.

rpm -ivh jenkins-2.121.1-1.1.noarch.rpm

Check java installed or not

rpm -qa java*

Check Out : Install Java

systemctl start jenkins

A folder will be created under the directory /var/lib/

ls /var/lib/jenkins/

Check java is running or not with port 8080 that Jenkins will use.

netstat -tnlp | grep java

Configure firewall rules for Jenkins if you want to access it from outside the network.

Check Out : Update Jenkins Version In Linux

firewall-cmd –permanent –add-port=8080/tcp

firewall-cmd –reload

Access Jenkins from a browser ip:8080/Jenkins.

Now run cat to get the administrator password

cat /var/lib/jenkins/secrets/initialAdminPassword

Check Out : How To Install Maven(Java) In Jenkins Using Plugin

grep jenkins /etc/passwd

After Putting the admin password now choose according to your need.

After choosing one of them it will start installing the plugins.

Create a new user or continue with Admin password.

Check Out : Jenkins “ HTTP Error 404 “ On Redhat/Cent0s 7

Now Jenkins is ready to use.

Now login with your credential.

You’re done

Leave a Reply

Notify of