Installing Jenkins

Modified on Thu, 08 Feb 2024 at 07:43 PM

Applies to the Java Selenium framework.

To perform automation using the Java Selenium framework, Java, Maven and Jenkins are the required components.

 

Overview

The installation method varies depending on your requirements and the chosen platform. For Windows installation, you can use the Jenkins Windows installer, which installs Jenkins as a service using a 64-bit JVM.

Prerequisites

  • Hardware requirements:
    System AreaRequirements 
    Minimum RAM 8 GB
    Core CPU 2
    Minimum storage 30 GB

  • Software Requirements:
    System AreaRequirements
    JavaStable versions 8 and 11
    MavenLatest version
    JenkinsLatest version

  •  Click here to download the latest version of Java and Maven.


Install Jenkins on Windows 


Perform the following:

The simplest way to install Jenkins on Windows is to use the Jenkins Windows installer. This program installs Jenkins as a service using a 64 bit Java Virtual Machine  (JVM).

  1. To download Jenkins Long Term Support (LTS), click here. In this screen, select the  Windows link to download the Jenkins Windows installer.
  2. Navigate to downloaded folder and click the installer to view the Welcome to Jenkins Setup Wizard. Click Next. 
  3. Select the destination folder to store your Jenkins Installation and click Next to continue.


  4. Select the Run service as LocalSystem option and click Next.


  5. Port Selection wizard appears. In this screen, specify the port on which Jenkins will be running, click the Test Port button to validate whether the specified port if free on your machine or not. Consequently, if the port is free, it will show a green tick mark as shown in the following screenshot, then click Next.


  6. Select Java home directory

    The installation process checks for Java on your machine and prefills the dialog with the Java home directory. If the needed Java version is not installed on your machine, you will be prompted to install it. Refer to prerequisites for the install Java.

  7. Select Firewall extension and click Next


  8. Ready to Install Jenkins wizard appears. Click Install.


  9. This window shows the progress bar of installation, as shown in the following screenshot:

  10. Once the installation completes, click the Finish button to complete the installation.

    Jenkins will be installed as a Windows Service.

    Validating Jenkins Installation

    You can validate Jenkins installation by navigating to the services section. In the Task search bar, enter Services. Click Open to view the Jenkins  automation server status as shown. Check for the server status for the successful installation.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article