0% found this document useful (0 votes)
113 views5 pages

Installation of Jenkins On Windows

This document provides a step-by-step guide for installing Jenkins on a Windows system, starting with the installation of Java (JDK) and downloading the Jenkins installer. It details the installation process, including setting up the service, configuring the Java path, and unlocking Jenkins with an administrator password. Finally, it covers customizing Jenkins by installing plugins and creating an admin user, concluding with verification of the installation.

Uploaded by

Vasanth Msd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views5 pages

Installation of Jenkins On Windows

This document provides a step-by-step guide for installing Jenkins on a Windows system, starting with the installation of Java (JDK) and downloading the Jenkins installer. It details the installation process, including setting up the service, configuring the Java path, and unlocking Jenkins with an administrator password. Finally, it covers customizing Jenkins by installing plugins and creating an admin user, concluding with verification of the installation.

Uploaded by

Vasanth Msd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Installation of Jenkins on Windows

Jenkins is an open-source automation server widely used for CI/CD (Continuous Integration
and Continuous Deployment). Below is a step-by-step guide to installing Jenkins on a
Windows system.

1.Install Java (JDK)


Jenkins requires Java 11 or later. To check if Java is installed, open Command Prompt
(cmd) and type:
java -version
If Java is not installed:
1. Download JDK from Oracle or OpenJDK.
2. Install the JDK and set up the JAVA_HOME environment variable.

2. Download Jenkins
1. Visit the Jenkins official website: https://www.jenkins.io/download/
2. Under Windows, click "Windows (LTS)" to download the .msi installer.
3. Install Jenkins
1. Run the .msi Installer
➢ Double-click the downloaded file to start the installation.
➢ Click Next and follow the setup wizard.

2. Choose Installation Type


➢ Select "Install as a Windows Service" (recommended).
➢ Click Next.
3. Select Java Path
➢ If Java is installed correctly, Jenkins will detect it automatically.
➢ If not, manually browse and set the Java path (e.g., C:\Program
Files\Java\jdk-11\bin\java.exe).
4. Choose Port for Jenkins Web Interface
➢ Default is 8080 (can be changed if needed).
➢ Ensure the port is not blocked by Windows Firewall.
5. Set Service Logon Credentials
➢ Use Local System account (recommended) or specify a custom user.
6. Select Jenkins Home Directory
➢ Default: C:\ProgramData\Jenkins
➢ You can change it if needed.
7. Complete Installation & Start Jenkins
➢ Click Install and wait for the process to complete.
➢ After installation, Jenkins will start automatically.
4. Unlock Jenkins
1. Open your browser and go to:
2. http://localhost:8080
3. Find the Administrator Password:
➢ Jenkins will ask for an admin password, which is stored in:
➢ C:\ProgramData\Jenkins\.jenkins\secrets\initialAdminPassword
➢ Open this file and copy the password.
4. Paste the password into the Jenkins UI and click Continue.

5. Customize Jenkins
Install Plugins
Jenkins provides two options:
• "Install suggested plugins" (recommended)
• "Select plugins to install" (if you want custom plugins)
Create Admin User
• Set up a username, password, and email for the administrator account.
Set Jenkins URL
• Default: http://localhost:8080
• You can modify it if necessary.

6. Verify Jenkins Installation


• Once the setup is complete, click "Start using Jenkins".
• You will be redirected to the Jenkins dashboard.
Jenkins is now installed on Windows

You might also like