How to Download & Install Jenkins on Windows
Jenkins may be installed on either Windows or Unix platforms, but we will focus on Windows installation only.
Prerequisites:
Before you proceed to install Jenkins in your windows system, there are some prerequisites for Jenkins to install Jenkins in your computer.
Hardware requirements:
- You need minimum 256 MB of RAM in your computer or laptop to install Jenkins
- You need at least 1 GB of space in your hard drive for Jenkins.
Software Requirements:
- Since Jenkins runs on Java, you need either Java Development Kit (JDK) or Java Runtime Environment (JRE).
Release Types
Jenkins releases two types of versions based on the organization needs.
- Long-term support release
- Weekly release
Long term support release (LTS) :
Long-term support releases are available every 12 weeks. They are stable and are widely tested. This release is intended for end users.
Weekly release:
Weekly releases are made available every week by fixing bugs in its earlier version. These releases are intended towards plugin developers.
We will use the LTS release though the process remains the same for Weekly release.
How to Download Jenkins?
Following steps should be followed so that to install Jenkins successfully:
Step 1) Got to https://jenkins.io/download/ and select the platform. In our case Windows
Step 2) Go to download location from local computer and unzip the downloaded package. Double-click on unzipped jenkins.msi
Step 3) In the setup screen, click Next.
Step 4) Choose the location where you want to have the Jenkins instance installed (default location is C:\Program Files (x86)\Jenkins), then click on Next button.
Step 5)Click on the Install button.
Step 6) Once install is complete, click Finish.
Step 7) During the installation process an info panel may pop-up to inform the user that for a complete setup, the system should be rebooted at the end of the current installation. Click on OK button when the Info panel is popping-up:
How to Unblock Jenkins?
After completing the Jenkins installation phase, you should proceed further and start its configuration. Next steps will guide you how you can unblock Jenkins application:
Step 1) After completing the Jenkins installation process, a browser tab will pop-up asking for the initial Administrator password. To access Jenkins, you need to go to browse the following path in your web browser.
http://localhost:8080
If you can access the above URL, then it confirms that Jenkins is successfully installed in your system.
Step 2) The initial Administrator password should be found under the Jenkins installation path (set at Step 4 in Jenkins Installation).
For default installation location to C:\Program Files (x86)\Jenkins, a file called initialAdminPassword can be found under C:\Program Files (x86)\Jenkins\secrets.
However, If a custom path for Jenkins installation was selected, then you should check that location for initialAdminPassword file.
Step 3) Open the highlighted file and copy the content of the initialAdminPassword file.
Step 4) Paste the password it into browser's pop-up tab (http://localhost:8080/login?form=%2F) and click on Continue button.
Customize Jenkins
You can also customize your Jenkins environment by below-given steps:
Step 1) Click on the "Install suggested plugins button" so Jenkins will retrieve and install the essential plugins
Jenkins will start to download and install all the necessary plugins needed to create new Jenkins Jobs.
Note: You can choose the Option "Select Plugins to Install" and select the plugins you want to install
Step 2) After all suggested plugins were installed, the "Create First Admin User" panel will show up. Fill all the fields with desired account details and hit the "Save and Finish" button.
Step 3) Once you have filled the above data, finally it will ask for URL information where you can configure the default instance path for Jenkins. Leave it as it is to avoid any confusions later. However, if another application is already using 8080 port, you can use another port for Jenkins and finally save the settings, and you are done with installation of Jenkins. Hit the "Save and Continue" button:
Congratulations! We have successfully installed a new Jenkins Server. Hit the "Start using Jenkins" button.
Below you can find the Jenkins instance up and run, ready to create first Jenkins jobs:
No comments:
Post a Comment