what is Jenkins? Installation of jenkins

The Modern Software development workflows into Devops, so we need to use the build tool for the devops process. Now Jenkins is one of the bu...

The Modern Software development workflows into Devops, so we need to use the build tool for the devops process. Now Jenkins is one of the build tools widely used in software companies.

What is Jenkins?

                        Jenkins is an open-source Automation server, which was written in Java. it was used to automate the software development and deployment process, In technically called continuous integration, and continuous delivery. Jenkins is used to automating the software process, so developers can work easily and it will automate the testing process as well.

Jenkins pipeline:

Jenkins Pipeline ("Pipeline" or "P") is a suite of plugins that supports implementing and integrating continuous delivery pipelines into Jenkins.

We installed Jenkins on the AWS Amazon Linux server.

Jenkins Installation Steps: 

1. Before going to install Jenkins needs to update the server.

Command: sudo yum update -y

2. Jenkins is basically a java-based Tool, so need to Install the java package. 

Installing the latest version of java.

Command: sudo yum install java-1.8.0

3. After the installation check the java version. 

Command: java -version

It shows the installed version, here version 1.8 was installed, but it shows the old version, so we need to remove the older version of java.

4. Removing the old java version.

Command: sudo yum remove java-1.7.0-openjdk

5. Add the Jenkins stable repos to the server.

Command: sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo

6. Need to add and import the Jenkins key.

Command: sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

7. Once installed the repositories and keys, Install the Jenkins.

Command: sudo yum install jenkins -y

6. After the installation starts the Jenkins using the below command. 

Command: sudo service jenkins start

Jenkins default port was 8080, If you using aws ec2 instance must add the 8080 in inbound rules If your using the light sail server need to add 8080 in the networking console.

Now Jenkins up and running need to configure the admin access and install the suggested plugins

9. Go to browser and browser the URL http://ipaddress:8080 

It will display the like below image.

10. Now need to give the initial admin password, In the image itself shows the password path
It shows the server path /var/lib/jenkins/secrets/initialAdminPassword
Now view the file content and paste it into the browser.
Command: cat /var/lib/jenkins/secrets/initialAdminPassword

11. Once pasted the content needs to click the continue button, it goes to the next dialog box, we need to choose options either install suggested plugins or select the plugins to install.

We have chosen the install suggested plugins option, So it will Install the plugins one by one.

Once all plugins were installed it moved to the next page, it was an admin user and password creation dialog box.

In this need to give a name password email address.

Once given the all required fields click Save and continue.

Now the Jenkins was ready to use. We can use delivery software as much as faster...

------------------------------------------!!!Happy Learning With Techiev!!!! ---------------------------------------



Techie View: what is Jenkins? Installation of jenkins
what is Jenkins? Installation of jenkins
Techie View
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy