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 Area Requirements Minimum RAM 8 GB Core CPU 2 Minimum storage 30 GB - Software Requirements:
System Area Requirements Java Stable versions 8 and 11 Maven Latest version Jenkins Latest 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).
- To download Jenkins Long Term Support (LTS), click here. In this screen, select the Windows link to download the Jenkins Windows installer.
- Navigate to downloaded folder and click the installer to view the Welcome to Jenkins Setup Wizard. Click Next.
- Select the destination folder to store your Jenkins Installation and click Next to continue.
- Select the Run service as LocalSystem option and click Next.
- 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.
- 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.
- Select Firewall extension and click Next
- Ready to Install Jenkins wizard appears. Click Install.
- This window shows the progress bar of installation, as shown in the following screenshot:
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
Feedback sent
We appreciate your effort and will try to fix the article