Jenkins Complete Course Masterclass | Step by Step for Beginners with Interview Questions & Quiz
ฝัง
- เผยแพร่เมื่อ 7 มิ.ย. 2024
- All Free Tutorials - automationstepbystep.com/
QUIZ - forms.gle/x6rBcWuSC3N2jGec7
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 2 : Download Jenkins.war file
Step 3 : Goto cmd prompt and run command
java -jar jenkins.war --httpPort=9191
Step 4 : On browser goto localhost:9191
Step 5 : Provide admin password and complete the setup
Installation on Mac
Homebrew
Get Homebrew brew.sh/
brew --version
brew search
brew info jenkins-lts
brew install jenkins-lts
brew uninstall jenkins-lts
Installation on Linux • How to install Jenkins...
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.xml
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 3 goto - localhost:8080/cli/
Step 4 download jerkins-cli jar. Place at any location.
Step 5 test the jenkins command line is working
java -jar jenkins-cli.jar -s localhost:8080 /help --username <userName> --password <password>
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
Jenkins Hindi Tutorial - th-cam.com/video/wQYV7azlUog/w-d-xo.html
sir all ready download jdk 1.8 version java for automation script in eclipse .but i am using Jenkins then jdk java version 11 or 19 required .but how to use both , at time Jenkins & To write automation script required JDK 1.8 version effect occurred on eclipse automation script. how to resolve this issue pleased one video about this....🙏🙏
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
Great to hear Remya, all the best
Raghav this Jenkins Masterclass was fantastic. Thank you so much for the time and effort you put into this!!!
Glad you enjoyed it! Share with all Brenden
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.
Most welcome
Your patience while teaching is commendable bro!! Love the way you teach❤️.
Thanks Danish
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 :)
Hi Biyas, most welcome
Ye TAU kya hota h????
Ye TAU kya hota h? ????
@@mahadevisutar1436 Test automation university. You can find many free courses with certification there.
I don't know if it is easy or you actually made it easy. Thank you so much, man! Awesome tutoring.
Most welcome Akhil
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.
Hi, glad to know it helped
Hi Raghav,
Thank you very much for sharing knowledge.
I have just done 43.53 minutes of watching, practicing and taking notes. I really liked your presentation along with few tiny but very useful shortcuts (cmd in File Explorer and restart in browser). looking forward to complete this session and more from the automationstepbystep.
So happy and humbled to know this, All the best
WOW, Great course! Very clear and extremely helpful.
Thanks Danny
Amazing!! So thankful for this master class video.
Most welcome Karishma
Thank you so much Raghav. I am a DevOps aspirant and I was so confused about Jenkins, you have made it so simple and interesting as well. Thank you so so so so much. You are the best!
You're most welcome Shruthi
Hi sruthi
One of the most straightforward and lucrative videos. Bang on target. Kudos to author
Thanks Chirag
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.
You're most welcome
@@RaghavPal .
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!
Most welcome
This was so easy to follow. God Bless you! Looking forward to your other videos.
Glad it was helpful!
I am very much new to the Jenkins and Devops domain. This course really helped me in terms of Jenkins course. Surely will go through the remaining courses. You made the course very simple and clear. Truly helpful for the beginners. I liked the last message in the video and surely help animals in some other way.
All the best Vinay
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!
Most welcome Jerome
Thanks Raghav for every detail that has been kept on the course for a beginner like me.. I am pretty sure that I learnt the basics well and I guess this is a great start for me learning Jenkins.. With these basics and as you say, I will "never stop learning"
Most welcome Sachin
Thanks a lot. Your course is crystal-clear and you've helped me tons.
Most welcome
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
You are most welcome Sanjeev
Exactly the video I was searching for!!!. Loved the video and indeed it was step by step, already shared!!!
Thanks
Awesome course man!!! Thanks a lot for your job and keep going!
Thanks a lot Roman
This guy is another super hero. Thank you !
So happy & humbled to see this
Awesome simplified tutorial. Thanks a ton !!
You're welcome!
well structured and details. love this kind of perfection
Thanks a lot Nama
One of the best courses I have taken. Everything worked from start to finish. It is very understandable and reported in simple language. Congratulations
Thanks Nikolaos
Excellent course for a beginner to start with Jenkins, hats off, Thank you Raghav
Most welcome Karthick
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
Most welcome Dipanshu
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!
Glad it was helpful. I will work on the feedback
The best video for beginners!!! Keep up the excellent work!!
Thanks a lot Jay
Full of knowledge. Simple and easy to understand. Thanks Raghav.
Most welcome Dheeraj
This is a fantastic course!, Thank you SOOO MUCH
You're very welcome!
This is huge. Thank you man for this wondeful tutorial. Take love.
Most welcome
Thank you Raghav.Simple and complete about jenkins tutorial(fundumentals) in a good way.And i appriciate you responding to every comment.Greate..
So nice of you Rajkumar
Hi Raghav,
Thank you very much for sharing your knowledge.
this is an amazing Jenkins tutorial. thanks a lot. I love your teaching and good luck
Most welcome
this is just great and to the point. Kudos to you for helping a lot of us out there.
Thanks a lot
Thanks a lot for this video, very well explained.
You are welcome Puja
I use this video again for reinstall jenkins. Super good explanation!
thanks for watching Sergey
Thank you SOOO MUCH this is an amazing Course looking forward to see the rest :]
You're very welcome!
@@RaghavPal can you please tutorial on like how we commit the code and deploy those changes through Jenkins... Really appreciate the help
Explained very well.. Easy to understand. Thanks!
Most welcome Rajaram
Thanks Raghav. This is really detailed one and step by step. Even beginners like me can understand it very well.
Glad to hear that Chaitalee
Excellent course.The way you have explained things is superb.Keep up the good work Raghav and thanks a lot for this course
Thanks Prince
Raghav, I am big fan of yours. I really love the way you explain each and every bit of the topic. #NeverStopLearning
Glad to hear that Ivanti
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
Great to know Ariff
Great content and great explanation! It gives a good overview of Jenkings.
Glad it was helpful Renan
Explanation is really good. Also I like the last part of video where instructor say do share your knowledge and never stop learning.
Thanks Nitin
Thanks ragahav for this Jenkins masterclass. Had a great session
Always welcome Ram
Thank you so much, man! Awesome tutoring.
Most welcome
Thank you for adding a crisp timeline.
Most welcome Zeeshan
Fantastic course! Thank you 🙏
Glad it was helpful Leon
Your tutorials are my best watch so far. Your channel is my home 🏡
Thanks a lot, means a lot to me
Wow it is a beautiful explanation and so simple to understand everyone. Thanks a lot
Most welcome
Perfect tutorial, every basics in a nutshell !!
Thanks a lot Rani
Hats off for your efforts.
A must watch
Thanks Neeraj, do share in your groups
It is a Staggering Course, Thanks a Billion!
Most welcome
@Automation step by step such a nicefull video thanq Raghava.
This is awesome, esp to start with Jenkin. Keep up nice work!
Awesome! Thank you!
Greetings from Finland. Awesome videos
Thanks a lot Marko
From yesterday I started from hear....I loved your way of teaching.....Now I have confidence I will learn devops step by step.Thanks sir😊
Thanks and welcome
Thank you so much raghav, for the master class i learnt so much with this class.
You're most welcome Veeravelli
awesome tutorial sir!!! very good explanation, thanks you !!!
Most welcome Ramesh
Very Nice work Raghav. Will be helpful. Thank you.
Most welcome Soyaib
Thank you very much Raghav. Excellent video. Nice and clear way to explain the topic.
You're most welcome Mihir
Was a great start for beginners, aan a quick recap for experienced, great job Raghav. 👍
Thanks for wacthing Karthic
I love your tuts.. Always at best🎉❤️
Thanks a lot Sai
Great Tutorial Raghav :) Thank you so much.
Glad it was helpful Gowtham, pls share in your groups and help everyone
Good Work Raghav.......Highly Appreciated......All your Videos are very Valuable....Keep Going.......God Bless...
Thanks a ton. Pls share with al
It is a really great instruction for the beginner like me and you are really thoughtful providing each time slot for each topic. Thanks again.
Most welcome Liu
@@RaghavPal subscribed already : )
Very informative tutorials. Thank You.
You are welcome!
Great video!! Great presentation style.
Thanks Sagar
thank you so much Rag. wish me good luck on my interview
Best of luck!
Very Helpful. Thank you so much ❤
Most welcome Rajkumar
Thanks a lot Raghav.. It's really an amazing session..
Always welcome Ramya
Thanks a lot Raghav for wonderful explanation. I used to follow your videos...well explained👏👏
So nice of you Vishnu
Thank you Raghav for such a wonderfull videoes.So simple and easy to understand ...
So nice of you Dipali
Thank you so much, awesome tutorial.
Most welcome Harjeet
simply awesome!!
Thanks a lot!
Thanks a ton Raghav... you are amazing!!
Most welcome
this video is very nicely explained for beginners. thanks!
Most welcome
thank you . i was struggling to know jenkins flow...your short video has given me a glance.
Would like to see more of like these ansible, terraform, kubernetes, yaml scripting....and more from you...Mr.Raghav Pal
Sure
Very detailed video. Thank you so much Sir.
Most welcome
Thank you Raghav! Nicely Explanation!
Most welcome Angad
Thank you very much, really appreciated for your great efforts.
Most welcome Omar
Very Very Useful...Thanks a lot...🙏
Welcome 😊
Thanks sir.. It was a perfect course... Very helpful
Most welcome Jay
Thank you so much for this awesome video in Jenkins
Most welcome Jitram
Thanks for sharing your knowledge, Raghav! 🙂
Always welcome
best tutorial.. thank you for this class
Most welcome Nikhil
The best thing of this channel is
Raghav read every comment , answer it if question and reply always 😇😇😇
Thanks Raghav sir
Most welcome
Perfect video for beginners.
Thanks for watching Sachin
Good job. Easy to follow steps👍👏
Glad it was helpful!
Awesome content!!! Thanks much🙏
Most welcome Naveen
Thank you Raghav Sir for explaining clearly.
You're most welcome Anshuman
Sir I am overwhelmingly thankful to you..🙏🙏🙏
Most welcome Bishnu
@@RaghavPal love you 😍
Wonderful. Thanks Raghav
Most welcome
i love the way of your explanation is too easy and good .. thankyou for teaching in just a simple way. keep making vedios like this sir.. i just love your content..
Thank you, I will Anshul
Very well explained and in a calm way
Thanks for watching Jnaneshwar
Thank you so much, Raghav, for what you do, and you do it wonderfully!
Thanks Rumpel
Thank you sir for sharing the knowledge.
So nice of you Asir