Continuous integration Tool

Jenkins is an Open Source automation server which is written in java. It helps us to automate the software development with Continuous integration. It does compile the code if he 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.

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

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

First Method

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 is 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.

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

firewall-cmd –reload

Access Jenkins from a browser ip:8080/Jenkins

Now cat to get the administrator password

cat /var/lib/jenkins/secrets/initialAdminPassword

 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

Now Jenkins is ready to use.

Now login with your credential

You’re done



Please enter your comment!
Please enter your name here