Complete Jenkins Pipeline Tutorial | Jenkinsfile explained

Sdílet
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

Komentáře • 501

  • @PeterMoueza
    @PeterMoueza Před 3 lety +137

    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

  • @alexwillenbrink8069
    @alexwillenbrink8069 Před 2 lety +23

    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 :)

  • @TechWorldwithNana
    @TechWorldwithNana  Před 4 lety +3

    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 😊

    • @prasannanayak5454
      @prasannanayak5454 Před 4 lety

      Please make a video on Multibranch Pipeline....

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +1

      @@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.

    • @prasannanayak5454
      @prasannanayak5454 Před 4 lety +1

      @@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.....

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +1

      @@prasannanayak5454 Thanks a lot, happy that my videos are so helpful for you! 🙂Such feedback really motivates

    • @SandeepKumar-sw5lo
      @SandeepKumar-sw5lo Před 4 lety +1

      Great job

  • @chaitanyakhairnar3881
    @chaitanyakhairnar3881 Před rokem +4

    The most concise and pinpoint explanation ever come across! Thanks!

  • @rkausale
    @rkausale Před 2 lety

    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 !!!

  • @chetanpatel1464
    @chetanpatel1464 Před 2 lety +1

    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.

  • @samuelademola1600
    @samuelademola1600 Před 4 lety +8

    I have been looking for this for a long time, and now it is here. Thank you.

  • @Equilibrier
    @Equilibrier Před 2 lety +7

    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 !

  • @SohailSiadat
    @SohailSiadat Před 4 lety +33

    Good explanations about Groovy-Jenkins are surprisingly rare. This is a very good one. Explaining and teaching is art. It is done well here.

  • @sanjeetsingh4743
    @sanjeetsingh4743 Před 3 lety +2

    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

  • @carlos.arenas
    @carlos.arenas Před 3 lety +9

    I just loved your tutorial, this really got me up to speed for the things that I had to do! Thank you! :D

  • @mohsanriaz4322
    @mohsanriaz4322 Před 4 lety +11

    Your series on Jenkins + this video is the best injection for the people getting started with Jenkins.

  • @FM-eq4rn
    @FM-eq4rn Před 4 lety +72

    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!

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +11

      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 :)

    • @nishaminz3138
      @nishaminz3138 Před rokem +1

      @@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?

  • @vasanthvel501
    @vasanthvel501 Před 5 měsíci +3

    Thanks for the simplest and well explained video. Most of the pipeline syntax covered in a single 35 min video

  • @donrounds7791
    @donrounds7791 Před rokem

    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!

  • @AbinJoseph1996
    @AbinJoseph1996 Před 3 lety

    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.

  • @totox6886
    @totox6886 Před 3 lety +1

    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

  • @oateurman
    @oateurman Před 3 lety

    Each of your tutorials are amazingly clear. Such great content !

  • @1234mytubeuser1234
    @1234mytubeuser1234 Před 4 lety +3

    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!

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +1

      Hi Amit, happy my videos is so helpful to you :) Also thanks for your suggestion!

  • @aapplefish
    @aapplefish Před 3 lety

    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

  • @prajwaltirpude8582
    @prajwaltirpude8582 Před rokem

    very quick and clear explanation for Jenkins file for a senior developer. Thanks again for making the video

  • @yasmin_jsmn
    @yasmin_jsmn Před 2 lety

    Your explanation is very clear and to the point. I just started to understand Jenkins after watching your video.
    Thank you 🌸

  • @RajeshKataraki
    @RajeshKataraki Před 3 lety

    The best Jenkinsfile tutorial I have come across!! Thanks Nana.

  • @paravoliasis
    @paravoliasis Před 2 lety

    Haven't seen in a while a such well organised introduction tutorial. Thanks!

  • @vikassingh4320
    @vikassingh4320 Před 3 lety +2

    Simply the Best explanation on Jenkinsfile.

  • @DontFookGaming
    @DontFookGaming Před 11 měsíci

    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/.

  • @harishpawar2510
    @harishpawar2510 Před 3 lety +1

    It was very helpful Nana. Great way of explaining each and everything in very clear way. Thanks you!!

  • @Nadya-vo2ou
    @Nadya-vo2ou Před 3 lety +2

    AMAZING!!! I was looking for this all over the Internet :) Great explanation, very easy to follow and understand.

  • @stevedearborn8637
    @stevedearborn8637 Před 3 lety

    Thank you Nana. Excellent tutorial introducing JenkinsFile CI/CD pipeline constructs and mechanics.

  • @Nodorgrom
    @Nodorgrom Před 2 lety +2

    I almost got all you said in this video. I also understood everything you showed in this video. Thank you!

  • @ranaindiavlogs9943
    @ranaindiavlogs9943 Před 3 lety

    Thanks Nana for recording these videos.. These are really helpful to dev/qa/devops community. Great job. Thanks for your al efforts.

  • @ashu__risiofficial5887

    You teaching is just awasome nana. Appreciate your hard work for our growth.

  • @prasannanayak5454
    @prasannanayak5454 Před 4 lety +12

    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.

  • @ibrahimsardar9579
    @ibrahimsardar9579 Před 4 lety +1

    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.

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety

      Thank you so much Ibrahim 🙏 Appreciate your feedback very much! Hope you check out my other videos too :)

  • @oscarbecerril8343
    @oscarbecerril8343 Před 3 lety +1

    This woman is amazing. Thanks for such great videos, Nana.

  • @souravsarker3913
    @souravsarker3913 Před 4 lety +2

    Nana it's an awesome tutorial on Jenkins scripting.... you have just filled the gap I was suffering to fill with.

  • @infohiqt6251
    @infohiqt6251 Před 3 lety +1

    Better than anything else i saw in the area of basics of pipelines with jenkins

  • @hardztp
    @hardztp Před 2 lety

    Wow, Nana, you are simply great tutor... your explanation is practical and through the point. Thanks a ton and Happy Teachers Day.

  • @babua3605
    @babua3605 Před 4 lety +2

    Awesome. Now I got clue how to learn/configure Jenkins Pipelines. Thank you much Nana.

  • @MdAkram
    @MdAkram Před 3 lety

    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

  • @PhoeNEx10
    @PhoeNEx10 Před rokem

    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!

  • @Elujin
    @Elujin Před měsícem

    Thank you for the very detailed video,the pacing and flow is very thought out!

  • @MadhuExplorer
    @MadhuExplorer Před 4 lety +1

    Thanks a lot Nana for accepting suggestions and posting tech content in an easy way.. special thanks for all your efforts

  • @ribaker822
    @ribaker822 Před rokem

    Thank you for actually simplifying configuring Jenkins.

  • @sachinjadhav1294
    @sachinjadhav1294 Před 3 lety +1

    Nice tutorial Nana. I like the way you started video with simple example and then build up slowly to complex one. Thank you !

  • @abhishekgarg2465
    @abhishekgarg2465 Před 3 lety

    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.

  • @tamilwargod
    @tamilwargod Před 2 lety

    Teaching is an Art, you mastered it Nana

  • @kaspersergej
    @kaspersergej Před 2 lety

    One of rare cases of good and consice tutorials 👌

  • @siddharthc6364
    @siddharthc6364 Před rokem

    Great tutorial. Enough information on the attributes to start building complex stuff over it.

  • @ChrisBrown-si1vg
    @ChrisBrown-si1vg Před 4 lety +1

    Very informative. Exactly what I was looking for continuing on my Jenkins setup. Thanks!

  • @dakota1231000
    @dakota1231000 Před 3 lety +1

    Simply Awesome!!! You gave a very crystal clear explanation Nana!!! Highfive!! keep spreading the knowledge!!!

  • @yogithakakarla1716
    @yogithakakarla1716 Před 3 lety +1

    Good tutorial, I donno how many times I have referred same video for my doubts of pipeline

  • @gousmohaddinhaveli603
    @gousmohaddinhaveli603 Před 3 lety +1

    Simply Superb, Thanks Nana for clean explanation. Today I learned new concept. Really helpful and much appreciated.

  • @ankit0510
    @ankit0510 Před 3 lety +1

    beautifully explained. Thank You Nana

  • @gcptest6612
    @gcptest6612 Před 3 lety

    precise explanation , kudos to you breaking up the scripts in detail.

  • @manikandans8808
    @manikandans8808 Před 4 lety +2

    Wonderful work. It's very easy to learn Jenkinsfile in the way you have explained. Waiting for lots of videos from you....cheers 🥳🥳🥳🥳🥳

  • @chetanhireholi
    @chetanhireholi Před 3 lety +1

    Right to the point!
    Thanks for the upload!

  • @enyamada
    @enyamada Před 3 lety

    Simple, didactic, clear, straightforward. Just awesome! Thanks a ton for this video!

  • @ayushsinghrathore7186
    @ayushsinghrathore7186 Před 4 lety +2

    Wonderful tutorial nana. This is exactly what I was looking for :)

  • @RABWA333
    @RABWA333 Před 4 lety +2

    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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety

      Thanks a lot Ghubein! Yes, I will do more Jenkins videos in the future, so stay tuned 🙂

  • @roboticistprogrammer7678

    Thanks Nana for the good tutorials you made

  • @ingridmachado8871
    @ingridmachado8871 Před 3 lety

    This video is GOLD. Thank you!

  • @jadalhamwi1543
    @jadalhamwi1543 Před 9 měsíci

    thank you ver very much
    absolutely the best tutorial i could found that demonstrates Jenkinsfile syntax and features, keep it up 😄

  • @highway9691
    @highway9691 Před rokem

    Nana you are the best🙂, thanks for this beautiful explanation

  • @juancespedes2199
    @juancespedes2199 Před 2 lety

    Thanks Nana, excellent material, wonderful explanation!!

  • @easyjourney7129
    @easyjourney7129 Před 2 lety

    Nana, thanks for
    sharing tutorial on Jenkins
    Easy to learn

  • @MR_Rijal
    @MR_Rijal Před 3 lety

    Lot's of Love from Nepal. Thanks Nana 🙂 you're amazing ❤️

  • @prasadrao4840
    @prasadrao4840 Před rokem +1

    Nana, all your videos are outstanding and ultimate , Greate

  • @elad3958
    @elad3958 Před 3 lety

    You're a master at your craft.

  • @98BlackTransAm
    @98BlackTransAm Před 2 lety +1

    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.

    • @Madurai2USA
      @Madurai2USA Před rokem

      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?

  • @anthonymaylath2915
    @anthonymaylath2915 Před 3 lety +1

    Thanks Nana! Very easy to follow!

  • @laurentvoisin8129
    @laurentvoisin8129 Před měsícem

    Love this video and your channel ! Thanks so much.

  • @bhupathivarma9170
    @bhupathivarma9170 Před 3 lety +1

    You are a wonder woman for tech aspirants 👍👍👍

  • @Delirium132231
    @Delirium132231 Před rokem

    Besy DevOps stuff channel I ever met on any learning portal. My gratest thanks.

  • @madantata
    @madantata Před 3 lety

    Perfect one for beginners . Clear and Crisp

  • @ChanceMinus
    @ChanceMinus Před 3 lety

    Whenever I see a Nana video I click on it immediately. Because I know I am going to learn and benefit from it...

  • @jeganmuthu6962
    @jeganmuthu6962 Před 4 lety +1

    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.

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +1

      Thank you so much Jegan! 🙂 Yes you're right, that would be useful 👍 thanks for pointing that out. I will add it

  • @SohailSiadat
    @SohailSiadat Před 4 lety +1

    Excellent. Well explained. With explanations about the necessary Groovy aspects. Finally found out what withCredentials means and how it is used.

  • @pankajvaishnav3079
    @pankajvaishnav3079 Před rokem

    That's what i was looking for Thanks Nana

  • @Souless-Monster
    @Souless-Monster Před 2 lety

    You know the tutorial will be good when this is the channel

  • @rajeevpant3377
    @rajeevpant3377 Před rokem

    gr8 session, u cleared by very clear steps. thanks

  • @ThEpicFoxtrot
    @ThEpicFoxtrot Před 2 lety

    This was an awesome tutorial, very very helpful. Thank you!!

  • @MrAshokganta
    @MrAshokganta Před rokem

    Great. Detailed Explanation of Jenkins file .

  • @rajivtripathi8403
    @rajivtripathi8403 Před 4 lety +16

    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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +3

      Thanks a lot Rajiv! :) Thanks for your suggestions, got the shared library request already a few times. Will make a video about it soon

    • @book_lover2026
      @book_lover2026 Před 3 lety +1

      P

  • @radub6436
    @radub6436 Před 4 lety +8

    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

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +3

      Sure, will prepare a small post about retrying and skipping failed stage syntax. thanks for the suggestion!

    • @niteshchidrawar6553
      @niteshchidrawar6553 Před 3 lety

      i need some help in cicd.. this is new work I have come...ping me anyone please

  • @ravindvelisala9333
    @ravindvelisala9333 Před 3 lety

    Top class Nana- wonderfull explanation - Thank you.

  • @maheshkamthe9887
    @maheshkamthe9887 Před 4 lety +2

    Super duper !! excellent content, simple way of explaining !! just keep going !!

  • @zaktv3595
    @zaktv3595 Před rokem

    Beautiful expalanation. This was very helpfull to me. Thanks you!

  • @stefantraianiancu9028
    @stefantraianiancu9028 Před 10 měsíci

    This is absolute gold!

  • @yogeshmandlik860
    @yogeshmandlik860 Před 2 lety +1

    Thanks Nana such a great and detail video.

  • @MrBarioss
    @MrBarioss Před 2 lety

    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')

  • @VineetKumar-re3mc
    @VineetKumar-re3mc Před 2 lety

    this is really very useful video for working professional the way of explanation was really good thnx for uploading this much relevant content

  • @vijaykhanna7263
    @vijaykhanna7263 Před 2 lety

    Well made, Appreciate your efforts to share your knowledge.

  • @abbajifar3117
    @abbajifar3117 Před 3 lety +1

    you're the best as usual! thank you for this useful tutorial.

  • @doctorpatrick1558
    @doctorpatrick1558 Před 3 lety

    thank you so much for what you do - it's awesome. This tutorial was very helpful!

  • @akashlodhi8021
    @akashlodhi8021 Před 4 měsíci

    One of the best content creator you are 🎉🎉
    Would like to understand how to add cluster, git branch and environment parameters in Jenkins pipeline

  • @thesleepexperimentproject8782

    should've seen this one long ago,. very clear one. Thanks

  • @pranitha1153
    @pranitha1153 Před měsícem

    Thank you Nana, you are awesome!😊

  • @adarshs663
    @adarshs663 Před 2 lety

    Wow, this tutorial is really great and it helped me to understand better

  • @biaerotech8898
    @biaerotech8898 Před 3 lety

    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............