Install Jenkins Continuous integration Tool
Install Jenkins Continuous integration, Jenkins is an Open Source automation server that is written in java. It helps us to automate software development with Continuous integration. We can install Jenkins on Linux using an rpm file.
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 fail at some moment it sends the report to the developer team to see the issues. If any changes come in software it starts complies with them.
Check Out: Jenkins Port Change
So now the development team does 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 methods of installing Jenkins either by adding repo or manually download the Jenkins package from here Download Jenkins
Jenkins uses the Port 8080 and the web access URL is IP:8080/Jenkins
This will register the key.
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/
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
Access Jenkins from a browser IP:8080/Jenkins.
Now run cat to get the administrator password
You can check a user Jenkins will be created.
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 the Admin password.
Now Jenkins is ready to use.
Now login with your credentials.
You’re done linux jenkins install rpm