Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to Install and Configure Jenkins on Windows 11

Posted on 31/01/202323/11/2023 Imoh Etuk By Imoh Etuk No Comments on How to Install and Configure Jenkins on Windows 11
  1. Home
  2. Configuration Management Tool
  3. How to Install and Configure Jenkins on Windows 11
Installing-Jenkins

In this article, you will learn how to install and configure Jenkins on Windows 11. Jenkins is an open-source automation server and software tool for continuous integration and delivery. It is used to automatically build, test, and deploy software projects. It is one of the leading  CI/CD tools used in modern software development. CI (Continuous Integration) and CD (Continuous Delivery/Continuous Deployment) are software development practices that aim to reduce the time it takes to deliver software updates to users by shortening the development lifecycle. 

The following post are some related posts you might be interested in reading about How to Set up Jenkins Pipelines Environment for Docker Container Deployment, How to install Java Runtime Environment on Mac OS, How to Install Apache HTTP Server on Ubuntu 20.04 LTS, How to Mount Volume to Docker Container

CI entails regularly merging code changes into a central repository, as well as automatically building and testing code to detect potential bugs or issues early in the development process.

The CD takes it a step further by automating the deployment of code changes to production environments, allowing teams to deliver updates to users more quickly and confidently.

Jenkins is available for Linux, Windows, and macOS users. The majority of users might choose Linux to run Jenkins, while some might choose Windows. If running Jenkins on Windows is your preferred option, this post is for you. If you are a Linux user looking to install Jenkins on your PC, refer to this post on How to Install Jenkins Automation Server on Ubuntu 20.04 LTS.

Install and configure Jenkins

The following steps are a high-level overview of how to install and configure Jenkins on Windows 11:

Step 1 – Step 1 – Start by opening a new browser tab and searching for the Google search engine. After you’ve opened it, type “Jenkins” into the search box and press the “Enter” key on your keyboard.

A list of numerous Jenkins-related websites would appear. You must only use the official “jenkis.io” site, which is listed at the top. Click on it to access it.

Alternatively, you can visit the Jenkins direct download page at Jenkins

Downloads-Jenkins
Downloading Jenkins

After downloading the Jenkins.msi setup file, it’s time to install it. To do so, locate the installation file in the download folder of your PC, double-click on it, and then click on Install as shown below:

Click-install
Installing Jenkins

Click next to continue

Run-Jenkins-Setup-
Running Jenkins Installation

Select the installation path to install Jenkins

Select-Installation-Destination
Select installation path

Supply the admin username and password and click on the test credentials button. Ensure that you keep the “Run service as local or domain user” checked.

Supply-Admin-username-and-password
Supplying the admin username and password

Unfortunately, at this point, it reported an error because we have added the admin01 user to the local group.

It is much safer to install and run Jenkins as an independent Windows service using a local or domain user than to run Jenkins as LocalSystem, which will grant Jenkins full access to your machine and services.

To run Jenkins as a local or domain user, enter the domain user name and password you want to use, click Test Credentials to validate your domain credentials, and then click Next but if it throws in error as shown above, you need to edit the Local Security Policy of your computer  and add the user you wish to grant the administrative permissions to run Jenkins.

Editing the Local Security Policy

If you’re installing a service to run under a domain user account, the account must have the service logon permissions. This logon permission is only valid for the local computer and must be granted through the Local Security Policy.

To define the 'logon as a service' permission on the computer, edit the Local Security Policy as follows:

Step 1 – Search for “Local Security Policy” using the search bar on the taskbar

Local-Security-Policy
Searching for local policy

Step 2 – Expand the Local Policies tab, click on User Rights Assignments and right-click to open Log on as a service properties

Expand-User-Rights-Assignment
Editing Local Security Policy

Step 3 – Click on Add User or Group, type the admin username and then click check name to call up the name username you want to add.

Add-User-or-Group
Add-user-to-group-1

Proceed with the installation, by downloading Java 11 or 17 and installing as Jenkins is dependent on Java to work. You can down Jave here:

Java-11-not-found
Java not found

You can check the version of Java on your system by running java --version command on your command prompt

Java-Version
Checking Java Version

Next, proceed to install Jenkins by re-entering the admin username and password and then click on the Test Credentials button to verify the credentials as shown below:

Supply-admin-user-and-password
Supplying and varying the admin username and password

Click on Next from the above screenshot to continue. This takes you to the custom setup screen, click on Next to continue:

Custom-Setup
Customer setup

The next thing is to determine the port that Jenkins will run on. Leave the port number at 8080 and click on Test Port to test it.

Port-Selection
Selecting port number

Click on Next to complete the installation and click on Finish

Jenkins-Setup-Finished
Finishing Jenkins Installation

Please see How to Prevent Standard Users from Changing BitLocker Password, and how to fix Wi-Fi not connecting on Windows 11.

Configuring Jenkins Environment Variable

Start by adding Jenkins to the system path by editing the environment variables.

Edit-System-Path
Editing the system environment variables

The Jenkins path on our system is C:\Program Files\Jenkins

Jenkins-path
Jenkins Path

Next, copy the path and add it to the system path

Jenkins-path-in-System-Path
Adding Jenkins Path

Assessing Jenkins web UI

The Jenkins web UI can be assessed on the URL below.

http://localhost:8080
Locating-Initial-Password

In addition, we have to locate the admin password and open it with a text editor.

Open-with-text-Editor

Copy the password and paste on a screen similar to the one below and click on continue:

Supply-the-Admin-Password
Supplying Admin Initial Password

Customize Jenkins Environment

Customize and set up the Jenkins environment after signing in. To have Jenkins automatically install the most frequently used plugins, click the Install suggested plugins button.

Install-Required-Plugins
Installing-the-required-Jenkins-Required-Plugins

Create the first admin User by supplying the required information as shown in the screenshot below and click on Save and continue:

Cfreating-The-first-Admin-User
Creating the first Admin User

Confirm the port number you want Jenkins to use on the Instance Configuration page, then click Save and Finish to complete the initial customization.

Save-the-Admin-Details-and-finish
Confirming Port Number

To access the Jenkins dashboard, click the Start using Jenkins button.

Start-Using-Jenkins
Start Using Jenkins

Creating your first Jenkins Job

To create your first Jenkins software project, click Create a job on the Jenkins dashboard.

Start-using-jenkins-by-creating-your-first-Jobs
Creating a job

Type the title of your job and select the type of project.

Create-your-first-CI-CD-project

Configure your project by selecting your source as GitHub and typing the URL for your project.

Configuring-your-first-Jenkins-project
Configuring Project

In conclusion, this post gives you a high-level overview, installation steps and how to configure the Jenkins automation server on Windows 11 and get started with creating and running your first project.

I hope you found this article useful on how to install and configure Jenkins on Windows 11. Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Configuration Management Tool, Web Server Tags:Github, Windows 11

Post navigation

Previous Post: How to download and use the NirSorf WakeonLan tool
Next Post: How to work with Azure Cognitive Service

Related Posts

  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • image 28
    How to monitor your website uptime and status using Uptime Configuration Management Tool
  • 1 kajkbmlyehn0inifwrh 8w 1
    How to configure Kerberos for Ansible Authentication Configuration Management Tool
  • image 92
    Install Let’s Encrypt Wildcard SSL Certificate in cPanel using Certify The Web Configuration Management Tool
  • db nginxseriesanisibleplaybook 1540x748 1
    How to install and configure Ansible on Ubuntu Configuration Management Tool
  • image 117
    Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool

More Related Articles

Implement Azure Bicep How to Deploy Azure Resources Using Azure Bicep Automation
image 28 How to monitor your website uptime and status using Uptime Configuration Management Tool
1 kajkbmlyehn0inifwrh 8w 1 How to configure Kerberos for Ansible Authentication Configuration Management Tool
image 92 Install Let’s Encrypt Wildcard SSL Certificate in cPanel using Certify The Web Configuration Management Tool
db nginxseriesanisibleplaybook 1540x748 1 How to install and configure Ansible on Ubuntu Configuration Management Tool
image 117 Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • erroradkupdate
    An error has occurred in the script on this page: HTA applications report a Script error after upgrading to ADK for Windows 11, version 22H2 Windows Server
  • Wiki in Linux
    How to Use Wiki from Linux Terminal Linux
  • install python 3 and pip
    How to upgrade and downgrade PIP on Windows Windows
  • How to Disable device encryption
    How to Disable device encryption on Windows Windows
  • article 1280x720.192a2586 1 1
    No valid offer received: WDS PXE-E16 error when booting clients Windows Server
  • Docker internal external
    Running Docker commands returns Docker is not recognized as an internal or external command Containers
  • 980239e9 cisco logo
    Security Best Practice to secure your Cisco Router and Switches Network | Monitoring
  • SQL
    How to install Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,796 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.