Tuesday, 4 November 2025

Jenkins - How to install Jenkins on winodws

First install jdk 7 or later , I downloaded jdk 21

https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe


















































Once installed veriy it

C:\Users\user>java -version

java version "21.0.9" 2025-10-21 LTS

Java(TM) SE Runtime Environment (build 21.0.9+7-LTS-338)

Java HotSpot(TM) 64-Bit Server VM (build 21.0.9+7-LTS-338, mixed mode, sharing)

C:\Users\user>


Download jenkins from here

https://www.jenkins.io/download/thank-you-downloading-windows-installer-stable/



















Select he installtion path 


















Select logon type 




































Select the jdk path .






































































Make sure Jenkins service is running 









Lets try to access jenkins 



















From next windows , select install suggested plugins 

















































finally finish the installation 






















logon to jenkins and see the differnt settings













Building on the built-in node can be a security issue. You should set up distributed builds. See the documentation. - 

"Don’t run your builds on the Jenkins master (built-in node). - Set up separate build agents for better security." A malicious job/script can damage Jenkins itself


Jenkins can run on standalone (jetty/winstone) or it can be configured to run on Jenkins on Tomcat"

When you run Jenkins standalone (java -jar jenkins.war), it uses its own small, embedded web server (historically Winstone, now typically a wrapper around Jetty). It's simple, quick, and great for a small team or testing.

The benefit of running Jenkins on an external application server like Tomcat (the "second" option) is primarily about Enterprise Management and Standardization.


No comments:

Post a Comment

Building a Safer PostgreSQL CI/CD Pipeline with GitHub Actions: Dev → PR Review → Test Promotion

In my previous post, we explored a simple push-to-main deployment strategy . While functional, that model is not considered an industry best...