🛠️

Jenkins Installation Guide for Windows 11

Aug 22, 2024

Installing Jenkins on Windows 11

Prerequisites

  • Java JDK must be installed on Windows 11.
  • If Java is not installed, refer to previous videos on how to install it.

Steps to Install Jenkins

  1. Download Jenkins

    • Open your browser and search for Jenkins.
    • Click on the first link from jenkins.io.
    • On the Jenkins website, locate the Download button.
    • Navigate to the downloads page.
    • Choose the Windows version under the LTS (Long Term Support) section.
    • Download the jenkins.msi file.
    • If the download doesn't start, use the alternate link provided.
  2. Run the Installer

    • Once the MSI file is downloaded, double-click to run it.
    • You can read documentation on the download page regarding default configurations.
    • Default IP Address: localhost:8080
    • Configuration can be changed using jenkins.xml file.
  3. Jenkins Setup Wizard

    • Click Next in the setup wizard.
    • Accept the default installation location unless you have a reason to change it.
    • Select Run service as local system for service login credentials.
    • Verify the default port (8080) is available; test it if necessary.
    • Provide the path for the Java Development Kit (JDK); it will often auto-detect.
    • Leave other settings as default and click Next then Install.
    • If prompted to allow changes on your device, click Yes.
    • When installation completes, click Finish.
  4. Access Jenkins

    • Open a browser and go to https://localhost:8080.
    • You will be prompted for an initial password, which can be found in a specific file path provided in setup instructions.
    • Navigate to the indicated directory and open the initial admin password file to retrieve the password.
  5. Unlock Jenkins

    • Copy the initial admin password and paste it into the Jenkins setup web page.
    • Click Continue.
    • Choose Install Suggested Plugins to install the recommended plugins (e.g., Git, Ldap, etc.).
    • Wait for the plugins to install.
  6. Create Admin User

    • After installation, set up a new admin username and password.
    • Provide a full name and email address if required.
    • Click Save and Continue.
    • The default URL for Jenkins will be displayed; click Save and Finish.
    • Click on Start Using Jenkins to access the main page.
  7. Verify Login

    • Log out and then log back in using the created username and password to ensure access is functioning correctly.

Final Notes

  • You can start using Jenkins on your Windows 11 operating system.
  • The main Jenkins page allows you to create new items, view build history, manage Jenkins settings, and install additional plugins.