How to Install Jenkins on Windows 10 | Jenkins Installation in WIndows | Jenkins Tutorial | Edureka

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi guys and welcome in today's session we are going to look at jenkins installation on windows 10 operating system but before we begin if you are new to this channel consider subscribing and turn on the notification so you don't miss an update also if you are interested in a certification program check out the links in the description below so let's begin by first discussing today's topic these are what is jenkins the system requirements for jenkins tool types of releases and which one should you use then we will go into a demo where we install jenkins from scratch and later we will create a basic build and get you familiar with the interface so let's start by asking what is jenkins in devops continuous integration is important and this is achieved using jenkins which is an open source automation tool made for continuous integration and continuous delivery purposes it is easy to install has loads of plugins and free to use so let's look at the system requirements for jenkins let's start by looking at hardware requirements for jenkins and the minimum and recommended configuration you should have at least 256 mb of ram and 1gb of storage space however it is recommended to have more than 4 gb of ram and over 50 gb of drive space next the software dependencies jenkins needs to have java installed on the target system it must have java 8 or 11 as all the other version of java are not supported by jenkins so you must have java 8 or 11 installed next we'll look at the installation types of jenkins if we go to the download page of jenkins you can see we have two options here these are the stable and lts release and the regular releases or weekly release to simplify the difference you can think of lts as a more stable release it will have fewer changes with less likelihood of bugs and patches on the other hand the advantages that comes with weekly releases is that developer gets to experience new features this is good for those who wants to experiment but for those who want stable options lts is the best bet now we move on to the installation part so let's install jenkins on windows 10. to do this first you need to go to the oracle website and look for java 8 or java 11. we have java 8 and 11 available here so here you can download your setup by choosing your operating system and then clicking here after you do that accept the agreement and then download the setup in my case i have already installed java in this system so the next thing for you to do is download the jenkins setup for windows 10. i'll be using the lts version here and by clicking you should automatically start downloading jenkins now i have the jenkins setup already with me so i'll be using just that and let me show you how you need to install jenkins but before you do that there is one thing that you should make sure of and that is to add the java path to the environment variable name here you can see i have the jdk 11 and all i need to do is copy this location and paste it in my environment variable so by clicking here after going to path and edit you can paste as you can see i already have the java location here with me but in case if i didn't have this all i would have done is created a new entry and then pasted my jdk installation path here and after clicking ok i should be able to access java from the command line so if i type java version i should get an output and as you can see this is working properly now we are ready to install jenkins so i have my setup here i'll double click it and i'll install i'll use the basic settings and the default path locations jenkins usually runs from the 8080 port so you have to test this after that select your java home directory and as you can see jenkins has automatically detected that for us and then install now click finish and then go to a web browser and type localhost colon 8080 now since this is the first time that jenkins is being set up it might take some time so be patient and keep hitting refresh now jenkins is getting ready so be patient and this should get started in like five minutes now comes the first step the first step for us is to unlock jenkins and to do that you need to go to this path and copy the password from this location so what i'll do is i'll copy this and paste it here and now i'll open this file and copy the password into jenkins now we will be installing the suggested plugins because that is the easiest way to get started so click here and jenkins should start downloading plugins so be patient here while we get things installed on this system now that our installation is complete we can create our first admin user then save and continue then finish now restart and now login so i enter your password and username here and sign in now let's get started with the jenkins dashboard as you can see we have the welcome page here here we can log out and these are some dashboard items so here we can create a new project we can view the build history some settings are here and we see the build queue here so for this i'll be creating a simple project so i'll create that by clicking on this and then i'll give it some name project jenkins for this i'll use the freestyle project now for this project i don't need anything too fancy but we can start by providing some description to our project so we'll write first project on jenkins now next we go to this build and i select execute windows command and here i'll write some commands so what will happen is that whenever we build something these commands will get executed and we will be able to see that so next i save this project and then we go into our project as you can see we have the description here and we can also build the project right now by clicking on this button so after clicking this we can see that our build is being scheduled here now we have this tick mark meaning that the belt was successful now you can go into this and look at the console output as you can see the commands that are input which were java version and there were executed and you can see that in the console output you also have some other information such as you can use it as the text and you can delete the build so i'll go ahead and delete this and this was just a basic introduction into jenkins project you can experiment around with this stuff but you should have a basic understanding of the ui now thank you for watching this video and we hope you become a jenkins master in no time all right then see you in the next one i hope you have enjoyed listening to this video please be kind enough to like it and you can comment any of your doubts and queries and we will reply them at the earliest do look out for more videos in our playlist and subscribe to edueca channel to learn more happy learning
Info
Channel: edureka!
Views: 23,574
Rating: undefined out of 5
Keywords: yt:cc=on, download and install jenkins on windows 10, download and install jenkins on windows, install jenkins on windows, download jenkins for windows, download jenkins, jenkins tutorial, install jenkins, jenkins tutorial for beginners, jenkins installation, Code, jenkins, Jenkins installation, jenkins installation in windows, jenkins installation in windows 10, what is jenkins, devops tools, devops, edureka devops, edureka, devopstraining, devopstutorial, devopsedureka
Id: 4B9yCnfCfhQ
Channel Id: undefined
Length: 9min 22sec (562 seconds)
Published: Fri Apr 08 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.