Installation & Configuration of Jenkins

Vijay Vaka
4 min readNov 26, 2022

--

In this article we will understand how to install Jenkins & configure it.

Pre-requisites:

  1. JDK 11 or 17 should be installed on your machine.
  2. Download and install it, add a path variable as below.
New Java Path was added in system variables

Please download Jenkins based on your operating system from the below url.

As I am using Windows 64 bit, I have downloaded the below highlighted.

Right click on the .msi file and click on “Install”.

Go with the default settings, but here you can choose below option

Click on “Test Port” and it should give you a green tick mark, if not change the port and try to test port once again.

Just go with default settings for rest of installation by clicking on “Next” and finally install it.

Now How to access your Jenkins locally ?

Access localhost:8080 in your browser or the port which you have used while installing Jenkins.

Open the initialAdminPassword in the below highlighted path and enter it as “Administrator password” and click on continue.

once you enter the admin password, below screen will appear and click on “Install suggested plugins” or you can use “Select plugins to install” but for this you need to aware of the plugins that are needed for CI/CD. You can refer next image for that.

I have gone with “Select plugins to install” and selected a few as below.

GitHub
Folders Plugin
Dashboard View Plugin
Pipeline Plugin
Build Pipeline Plugin
Git Plugin
GitHub Integration Plugin
Maven Integration Plugin
Mailer
SCM API

I tried for the above plugins to be installed but all weren’t installed due to internet speed etc. No worries, once we login we can install that were missed out here., Click on “Continue”

Now configure, Username, password etc.. as asked in the below view.

Once you fill in all the details click on “Save and Continue”.

Click on “Save and Finish” and click on “Start using Jenkins”

This is how it looks once you login.

Now go to “Manage Jenkins” and under plugin manager → Available,

You can check the plugins that are required or were not downloaded from internet previously, like below.

Once you choose all the plugins here click on “Install without restart”.

Now you will be routed to a page “Installing Plugins/Upgrades” and you will see the plugins are getting installed.

Even if required plugins are missing, or not getting installed, we can try once again when required.

For now, after restart, we can login with the credentials you have configured.

Thank you.

Follow Me on:

Linkedin: https://www.linkedin.com/in/vijaya-kumar-vaka-27897399/

Our Telegram Group:

https://t.me/mulesoftintegrationworld

--

--