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