Complete Jenkins Pipeline Tutorial | Jenkinsfile explained
Vložit
- čas přidán 29. 06. 2024
- In this complete Jenkins Pipeline Tutorial, I explain everything you need to know about Jenkinsfile.
► Subscribe To Me On CZcams: bit.ly/2z5rvTV
This complete Jenkins Pipeline Tutorial will help you configure build pipeline for your own project using Jenkinsfile.
Gitlab Link: gitlab.com/nanuchi/techworld-...
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 Intro
0:11 What is Jenkinsfile?
0:50 From Scripted to Declarative Pipeline Syntax
2:48 Basic Structure of Jenkinsfile
8:40 Post Build Actions in Jenkinsfile
10:15 Define Conditionals / When expression
12:45 Using Environmental Variables in Jenkinsfile
20:13 Using Tools attribute for making build tools available
22:30 Using Parameters for a Parameterized Build
27:29 Using external Groovy scripts
#devops #jenkins #docker #techworldwithnana #devopstools
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Complete Docker and Kubernetes tutorial ► bit.ly/2YGeRp9
What is Kubernetes? ► • What is Kubernetes | K...
Docker 🐳 vs Kubernetes ► • Docker vs Kubernetes v...
Complete Jenkins Pipeline Tutorial ► • Complete Jenkins Pipel...
▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► bit.ly/32UVSZP
DEV ► bit.ly/3h2fqiO
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Great !
A timeline : 1:39 Groovy scripted declarative 6:26 configuration 6:29 credentials 9:22 email 12:25 Groovy changes 12:30 environment variables 13:30 env-vars.html 14:51 single vs double quotes notation 15:23 credentials cf Video 17:39 version 19:51 plugins Manage Jenkins>Manage plugins 20:35 Tools Maven Gradle 21:18 cf video Tools 24:00 choice 25:57 CZcams CORRECTION 26:17 Gitlab 26:25 allcaps 31:50 env variables available in Groovy 33:58 REPLAY
I always found jenkins so intimidating but this tutorial is amazing and simplifies the "getting started" so beautifully! Thank you Nana! You're the best :)
0:11 - What is Jenkinsfile?
0:50 - From Scripted to Declarative Pipeline Syntax
2:48 - Basic Structure of Jenkinsfile
8:40 - Post Build Actions in Jenkinsfile
10:15 - Define Conditionals / When expression
12:45 - Using Environmental Variables in Jenkinsfile
20:13 - Using Tools attribute for making build tools available
22:30 - Using Parameters for a Parameterized Build
27:29 - Using external Groovy scripts
👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
Please don't forget to subscribe and give me a thumbs up if you liked my video 😊
Please make a video on Multibranch Pipeline....
@@prasannanayak5454 I already have a video czcams.com/video/tuxO7ZXplRE/video.html. Let me know if there is a specific thing about this topic that you are missing.
@@TechWorldwithNana Wow! That's great how you cover all topics in a specific way. I must tell you that yor channel is gonna a huge base on Devops in future days. Good Luck.....
@@prasannanayak5454 Thanks a lot, happy that my videos are so helpful for you! 🙂Such feedback really motivates
Great job
The most concise and pinpoint explanation ever come across! Thanks!
After spending significant time searching for the right tutorial for these concepts, I landed here. And I must say, this video didn't disappoint me at all. All concepts were explained clearly. I can say, I have the foundation now and can definitely start using Jenkins for advanced use cases as well. Thanks Nana !!!
Hello, I'd like to say a massive thank you for creating this content. I've learnt more in this video then i've done over the last month with trying to work out how Jenkins and Groovy are used in real world relations. Its clear and concise. I know it takes a lot of time and energy to try and create these videos so keep going.
I have been looking for this for a long time, and now it is here. Thank you.
You're welcome, glad it was helpful for you :)
I learned more jenkins from this video then I would from other 5-8 videos. Thanks a lot, your videos are very clear, concise and transparent. It's a perfect rithm for anyone (beginner) watching this.
Keep up the good work, Nana !
Good explanations about Groovy-Jenkins are surprisingly rare. This is a very good one. Explaining and teaching is art. It is done well here.
That's true, thank you so much for your feedback! :)
I am new to your channel and have watched a couple of tutorials (Docker, Prometheus) and let me tell you how easy it has been to follow what you wanna convey. Great stuff! Thanks for looking out for us by providing such amazing tutorials
I just loved your tutorial, this really got me up to speed for the things that I had to do! Thank you! :D
Your series on Jenkins + this video is the best injection for the people getting started with Jenkins.
Thank you so much Mohsan, glad you think so :)
Clear concise explanations, wonderful presentation, not bloated with irrelevant diagrams like many of the Jenkins videos that CZcams seems to impose upon users. You effectively break down concepts, and sympathetically build upon information into actionable knowledge, a mark of a great tutorial! Thank you!
Wow thanks for such an amazing feedback Farhan! :) I always try my best in structuring my videos so that it's most useful for the viewer and I'm glad I achieved that :)
@@TechWorldwithNana hi Nana do you have any reference or jenkinsfile documents for war file tomcat deployment using bluegreen method if yes could you share with us can you make the video on this?
Thanks for the simplest and well explained video. Most of the pipeline syntax covered in a single 35 min video
I am studying for the Certified Jenkins Engineer at the moment, and this video is very useful for my study. But importantly, it is so much better explained than various resources I have found online. Thanks Nana!
This is exactly what I was searching for. Other videos had a full tutorial on CI/CD which was unnecessar for me. Thanks for making this. BTW this is your 6th video I'm watching. You're consistently making helpful videos.
Nana is best. She doesn't sounds like a teacher who shows useless diagrams and high level stuffs.she is a mentor for tech people showing things practically. thankyou so much
Each of your tutorials are amazingly clear. Such great content !
Nana, you have become one of my favourite tech Vloggers!! I can't thank you enough for your simple way of explaining complex things. I find "chef" most difficult thing to learn. Hope one day you cover that also. Thanks again!
Hi Amit, happy my videos is so helpful to you :) Also thanks for your suggestion!
As a person who never use Jenkins, I do love the way you explain it, it's much easier to understand the whole structure and where, how to use them.
And if the flip-flap board could change to a sidebar title and stays there would be great too:D
very quick and clear explanation for Jenkins file for a senior developer. Thanks again for making the video
Your explanation is very clear and to the point. I just started to understand Jenkins after watching your video.
Thank you 🌸
The best Jenkinsfile tutorial I have come across!! Thanks Nana.
Haven't seen in a while a such well organised introduction tutorial. Thanks!
Simply the Best explanation on Jenkinsfile.
The best part is showing the ENV vars, few days back I was so frustrated in finding all env vars, but after watching your video, I realise it was right there, all the time/.
It was very helpful Nana. Great way of explaining each and everything in very clear way. Thanks you!!
AMAZING!!! I was looking for this all over the Internet :) Great explanation, very easy to follow and understand.
Thanks Nadya, happy to hear! :)
Thank you Nana. Excellent tutorial introducing JenkinsFile CI/CD pipeline constructs and mechanics.
I almost got all you said in this video. I also understood everything you showed in this video. Thank you!
Thanks Nana for recording these videos.. These are really helpful to dev/qa/devops community. Great job. Thanks for your al efforts.
You teaching is just awasome nana. Appreciate your hard work for our growth.
Really great job in simplest way. I'm watching your linkedin videos also and they are useful too. Thank you so much for this video.
Thank you Prasanna! :)
Excellent tutorial. Hands down best I have seen on the topic. The quality really shows in this one. Thank you for your great effort in making these videos.
Thank you so much Ibrahim 🙏 Appreciate your feedback very much! Hope you check out my other videos too :)
This woman is amazing. Thanks for such great videos, Nana.
Nana it's an awesome tutorial on Jenkins scripting.... you have just filled the gap I was suffering to fill with.
Thanks Sourav, that's awesome! :)
Better than anything else i saw in the area of basics of pipelines with jenkins
Wow, Nana, you are simply great tutor... your explanation is practical and through the point. Thanks a ton and Happy Teachers Day.
Awesome. Now I got clue how to learn/configure Jenkins Pipelines. Thank you much Nana.
That's great, keep on learning 👍
The very best tutorial I have ever seen. I really appreciated your works. Love to see more videos from you. Already subscribed to your channel
Uau what amazing video! It helped me to understand all these concepts, I didn't know about, perfectly and quickly. Very well explained, straight to the point, no unnecessary complications. Congratulations!
Thank you for the very detailed video,the pacing and flow is very thought out!
Thanks a lot Nana for accepting suggestions and posting tech content in an easy way.. special thanks for all your efforts
Thanks, glad that you like my videos :)
Thank you for actually simplifying configuring Jenkins.
Nice tutorial Nana. I like the way you started video with simple example and then build up slowly to complex one. Thank you !
Thanks for your feedback Sachin, really appreciate it :)
you are one of the best explainer in all my youtube & udemy's trainer list, i never miss a video of my doubt, if i see its maiden by you, thanks.
Teaching is an Art, you mastered it Nana
One of rare cases of good and consice tutorials 👌
Great tutorial. Enough information on the attributes to start building complex stuff over it.
Very informative. Exactly what I was looking for continuing on my Jenkins setup. Thanks!
Cool that's great!
Simply Awesome!!! You gave a very crystal clear explanation Nana!!! Highfive!! keep spreading the knowledge!!!
Thank you Ali, appreciate your feedback! 😊
Good tutorial, I donno how many times I have referred same video for my doubts of pipeline
Simply Superb, Thanks Nana for clean explanation. Today I learned new concept. Really helpful and much appreciated.
Awesome, I'm glad it was so valuable for you 😊
beautifully explained. Thank You Nana
precise explanation , kudos to you breaking up the scripts in detail.
Wonderful work. It's very easy to learn Jenkinsfile in the way you have explained. Waiting for lots of videos from you....cheers 🥳🥳🥳🥳🥳
Thanks a lot, happy that it's so helpful :)
Right to the point!
Thanks for the upload!
Simple, didactic, clear, straightforward. Just awesome! Thanks a ton for this video!
Wonderful tutorial nana. This is exactly what I was looking for :)
Great, happy you liked the tutorial :)
thanks a lot for the great explaination, the flow of this tutorial is awesome. very informative , hope to see more videos about Jenkins , for example, a pipeline for deploying in OpenShift/Kubernetes, or adding Ansible to the pipeline. going to check your other Jenkins videos
Thanks a lot Ghubein! Yes, I will do more Jenkins videos in the future, so stay tuned 🙂
Thanks Nana for the good tutorials you made
This video is GOLD. Thank you!
thank you ver very much
absolutely the best tutorial i could found that demonstrates Jenkinsfile syntax and features, keep it up 😄
Nana you are the best🙂, thanks for this beautiful explanation
Thanks Nana, excellent material, wonderful explanation!!
Nana, thanks for
sharing tutorial on Jenkins
Easy to learn
Lot's of Love from Nepal. Thanks Nana 🙂 you're amazing ❤️
Nana, all your videos are outstanding and ultimate , Greate
You're a master at your craft.
I've been using Jenkins for years at an enterprise level, and this video is great conceptual breakdown.
Some fun things to do are spin up small kubernetes clusters using kind or micro-k8s on top of docker desktop, run full coverage unit tests in go, python, etc, and then tear everything down.
Hi Rich, I am exploring CICD tools to implement with Amazon EKS. Is jenkins a good tool to consider? I understand this is open source software and doesn’t have much support for this tool. Is there any drawback using Jenkins compared to licensed Circle CI or Gitlab tools?
Thanks Nana! Very easy to follow!
You're welcome Anthony. Stay safe. 🙂
Love this video and your channel ! Thanks so much.
You are a wonder woman for tech aspirants 👍👍👍
Besy DevOps stuff channel I ever met on any learning portal. My gratest thanks.
Perfect one for beginners . Clear and Crisp
Whenever I see a Nana video I click on it immediately. Because I know I am going to learn and benefit from it...
Awesome work Nana, I have been looking Jenkins pipeline tutorial for long time. In 35 mins, you have covered everything.
It would be useful for all, if you post the site/docs you are referring.
Thank you so much Jegan! 🙂 Yes you're right, that would be useful 👍 thanks for pointing that out. I will add it
Excellent. Well explained. With explanations about the necessary Groovy aspects. Finally found out what withCredentials means and how it is used.
I'm glad you learned something, thanks for your comment :)
That's what i was looking for Thanks Nana
You know the tutorial will be good when this is the channel
gr8 session, u cleared by very clear steps. thanks
This was an awesome tutorial, very very helpful. Thank you!!
Great. Detailed Explanation of Jenkins file .
No Words!!! Awesome!!! You covered all complex part in a very easy way.....Grt Work!!!! One Request 1) Some Video Groovy DSL in detail (2) Shared Library Jenkins
Thanks a lot Rajiv! :) Thanks for your suggestions, got the shared library request already a few times. Will make a video about it soon
P
Hello, Nana! This tutorials are great, probably one of the best youtube has to offer now!
As a suggestion, I believe it would be helpful if you can show us the syntax for retrying a build if it fails and also, if a stage of a build fails, how can you continue with the next stage instead of failing the entire build
Sure, will prepare a small post about retrying and skipping failed stage syntax. thanks for the suggestion!
i need some help in cicd.. this is new work I have come...ping me anyone please
Top class Nana- wonderfull explanation - Thank you.
Super duper !! excellent content, simple way of explaining !! just keep going !!
Thank you Mahesh, happy you like my way of explaining :)
Beautiful expalanation. This was very helpfull to me. Thanks you!
This is absolute gold!
Thanks Nana such a great and detail video.
Everything super explained. That really helped! THANK YOU
One small thing with the code where you explain the credentials
I had to change this line:
From
usernamePassword(credentials: 'server-credentials', usernameVariable: USER, passwordVariable: PWD)
to
usernamePassword(credentialsId: 'server-credentials', usernameVariable: 'USER', passwordVariable: 'PWD')
this is really very useful video for working professional the way of explanation was really good thnx for uploading this much relevant content
Well made, Appreciate your efforts to share your knowledge.
you're the best as usual! thank you for this useful tutorial.
Thanks Abba, glad the video was useful for you 🙂
thank you so much for what you do - it's awesome. This tutorial was very helpful!
One of the best content creator you are 🎉🎉
Would like to understand how to add cluster, git branch and environment parameters in Jenkins pipeline
should've seen this one long ago,. very clear one. Thanks
😅
You're welcome. 🙂
Thank you Nana, you are awesome!😊
Wow, this tutorial is really great and it helped me to understand better
Dear Dear Goddess of Knowledge--- Simply wonderful and clear cut explanation. With lot's of useful information for anyone who need to spend sometime and enjoy your traning ---Kudos My dear lovely lovely Lady............