Jenkins Complete Course Masterclass | Step by Step for Beginners with Interview Questions & Quiz

preview_player
Показать описание
00:00 Introduction
00:44 What is Jenkins
01:17 What is CI CD
03:10 Jenkins Installation
04:18 Install on Windows
11:55 Install on Mac
16:42 Install on Linux
17:50 Jenkins GUI & Configuration
22:43 How to change Home Directory (win)
28:19 How to change Home Directory (Mac)
30:52 How to setup Git on Jenkins

32:20 Create First Job on Jenkins
35:51 How to connect to Git Repository
38:18 How to add Credentials
41:46 Use custom Job Workspace
43:35 CLI
50:08 Create Users + Manage + Assign Roles

59:12 Chain Jobs
01:04:06 Build Pipeline
01:07:15 Jenkins Pipeline | Jenkinsfile
01:19:35 How to get Jenkinsfile from SCM
01:27:00 How to clone Git Repo using Jenkinsfile
01:30:45 Message from Raghav

01:31:44 FAQs | Jenkins Interview Questions

01:31:48 What is Jenkins
01:32:00 What is CI-CD
01:32:21 What is Hudson
01:32:27 Steps to setup Jenkins
01:32:40 Command to start Jenkins
01:32:49 What is Jenkins Pipeline
01:32:59 How to implement JenkinsPipeline
01:33:05 What is Jenkinsfile
01:33:14 How to create Jenkins Pipeline
01:33:27 Declarative vs Scripted Pipeline
01:33:40 How to backup Jenkins

Jenkins creator - Kohsuke Kawaguchi
#JenkinsBeginnerTutorial
Jenkins Complete Course in one video
For Complete Beginners | Step by Step from Scratch
Windows | Mac | Linux
Timeline in Description

What is Jenkins
- Jenkins is a CI CD tool
- Free & Open Source
- Written in Java

What is CI & CD
Continuous Integration, Delivery & Deployment

Installation

System Requirements
Memory 256 MB of RAM
Disk Space Depends on your projects
OS Windows, Mac, Ubuntu, Linux
Java 8 or 11 (JDK or JRE)

Installation on Windows
Step 1 : check Java is installed
Step 3 : Goto cmd prompt and run command
Step 5 : Provide admin password and complete the setup

Installation on Mac
Homebrew
brew --version
brew search
brew info jenkins-lts
brew install jenkins-lts
brew uninstall jenkins-lts

Jenkins Configuration

How to change Home Directory
Step 1: Check your Jenkins Home > Manage Jenkins > Configure System
Step 2 : Create a new folder
Step 3 : Copy the data from old folder to new folder
Step 4 : Create/Update env variable JENKINS_HOME
Step 5 : Restart Jenkins

JENKINS_HOME

How to setup Git on Jenkins
Step 1 : Goto Manage Jenkins > Manage Plugins
Step 2 : Check if git is already installed in Installed tab
Step 3 : Else goto Available tab and search for git
Step 4 : Install Git
Step 5 : Check git option is present in Job Configuration

Create the first Job on Jenkins
How to connect to Git Remote Repository in Jenkins (GitHub)
Step 1 Get the url of the remote repository
Step 2 Add the git credentials on Jenkins
Step 3 In the jobs configuration goto SCM and provide git repo url in git section
Step 4 Add the credentials
Step 5 Run job and check if the repository is cloned

How to use Command Line in Jenkins CLI
Faster, easier, integrate
Step 1 start Jenkins
Step 2 goto Manage Jenkins - Configure Global Security - enable security
Step 4 download jerkins-cli jar. Place at any location.
Step 5 test the jenkins command line is working

How to create Users + Manage + Assign Roles
How to create New Users
How to configure users
How to create new roles
How to assign users to roles
How to Control user access on projects

Step 1 Create new users
Step 2 Configure users
Step 3 Create and manage user roles Role Based Authorization Strategy Plugin - download - restart jenkins
Step 4 Manage Jenkins - Configure Global Security - Authorization - Role Based Strategy
Step 5 Create Roles and Assign roles to users
Step 6 Validate authorization and authentication are working properly

Chain Jobs

Jenkins Pipeline Beginner Tutorial
How to create Jenkinsfile
- What is pipeline
- What is jenkins pipeline
- What is jenkinsfile
- How to create jenkinsfile

Build > Deploy > Test > Release
Jenkinsfile : Pipeline as a code

Step 1 Start Jenkins
Step 2 Install Pipeline Plugin
Step 3 Create a new job
Step 4 Create or get Jenkinsfile in Pipeline section
Step 5 Run and check the output

Jenkins Pipeline
How to get jenkinsfile from Git SCM

Step 1 : Create a new job or use existing job (type: Pipeline)
Step 2 : Create a repository or GitHub
Step 3 : Add Jenkinsfile in the repo
Step 4 : Under Jenkins job > Pipeline section > Select Definition Pipeline script from SCM
Step 5 : Add repo and jenkinsfile location in the job under Pipeline section
Step 6 : Save & Run

Jenkins Pipeline
How to clone a git repo using Jenkinsfile
all videos on Jenkins
Jenkins is free and the most widely used CI CD tool
Learning Jenkins

Never Stop Learning
Raghav Pal
Рекомендации по теме
Комментарии
Автор

One of the best course I ever taken. Explained all the concept in depth in very simple language. I enjoyed the full course without skipping a single word. Hats off to you Raghav. Great work

remyarnair
Автор

I did my first Jenkins course from TAU but that didn't work well for me. Thank you once again for putting your effort into creating this tutorial. You always show the hard stuff in a very simple manner and that makes you the best teacher. I always found your tutorial very useful. Thank you so much :)

biyasbanerjee
Автор

One of the best courses I have taken. Everything worked from start to finish. It is very understandable and reported in simple language. Congratulations

nikolaoslelidis
Автор

Your patience while teaching is commendable bro!! Love the way you teach❤️.

bigra
Автор

While I'm sure there's much more to Jenkins, this is a no-nonsense and straight to the point way of teaching the essentials. Best Jenkins introductory course I've seent. Thank you so much for taking the time to make this.

laffinkippah
Автор

One of the most straightforward and lucrative videos. Bang on target. Kudos to author

chiragbhasin
Автор

Man I was scared of Jenkins, but your video has helped me overcome that fear, as now I can understand what I am doing in Jenkins. Thanks

dipanshusharma
Автор

Excellent course for a beginner to start with Jenkins, hats off, Thank you Raghav

Karthickmasanmasan
Автор

I have been using Jenkins, but most of the setups are made by my seniors. It's nice to finally know how to do it on my own

ariffrahim
Автор

thank you . i was struggling to know jenkins flow...your short video has given me a glance.

patururajesh
Автор

Excellent Raghav, very clear, great course, i have recommended this course to many students who wants to start DEVOPS, same thing happened to me too, its a chain of CI CD, Thank you very much

sanjeevbableshwar
Автор

Thanks for this. Very easy to follow.
When I was in High school, my teachers used overhead projectors where they would write while teaching. It made it so much easier to retain knowledge by both hearing and seeing.
Your typing on the notepad kinda reminded me of that.

moonbal
Автор

Great overview. Having never used CI-CD before, I did find the initial part of the video a bit unclear, but the major chunk of Jenkins information was very helpful!

lothalopolis
Автор

I have an interview coming up today and they want someone with this skillset. This was a great video. You did a good job. Thanks man!

michaelhall
Автор

Raghav this Jenkins Masterclass was fantastic. Thank you so much for the time and effort you put into this!!!

xCONQUEST
Автор

Thanks for the helpful work you've done for us all strangers out here

angelgabriel
Автор

hands down there is no jenkins tutorial better than this for begineers👍

shamshuddin
Автор

One of the best tutorial I've seen in youtube and can be used in the professional work. Thanks Raghav for sharing this to us, keep it up!

jerome
Автор

Thank you so much, Raghav, for what you do, and you do it wonderfully!

rumpelshtilcken
Автор

Thank you, Raghav. It's a great video and your teaching skills are top-notch. The way you deliver the message shows your intention on spreading the knowledge.

kstudent