Tuesday, January 18, 2022

Install and Configure Jenkins on windows server 2016

Description: Here I have explained, How to install and configure Jenkins on a Windows server

Prerequisites:

  • Windows server 
  • JDK  11


First Download the JDK 11 from the Link 

















Install JDK 




















Download Jenkins from the given Link 




















Run the setup file

















Define the location for files 




















Define service account for service 


















Here, When you enter the username and password it shows an error as follows. 



















For the above error, we need to add user in local security policy as follow

Open local security policy 





















Open Security Settings --> Local Policies --> User Rights Assignments --> Logon As a service






















Add user in policy





































Test connection again 



























The setup default port for Jenkins URL






































































Browse the URL http://localhost it will redirect to the Jenkins page





















Open the given file path for Admin password for the Jenkins 



































Install the suggested plugins 




















Create admin user and finish the setup


No comments:

Post a Comment