Create Jenkins Declarative Pipeline | How to Build Jenkins CICD Pipeline | Jenkins pipeline Tutorial

Поділитися
Вставка
  • Опубліковано 21 сер 2024
  • Jenkins is an Open source, Java-based automation tool. This tool automates the Software Integration and delivery process called Continuous Integration and Continuous Delivery.
    Jenkins support various source code management, build, and delivery tools. Jenkins is #1 Continuous integration tool, especially new features like Jenkins Pipelines (Scripted and Declarative Pipeline) makes the delivery process very easy and help Team to adopt DevOps easily.
    - Pipelines are better than freestyle jobs, you can write a lot of complex tasks using pipelines when compared to Freestyle jobs.
    - You can see how long each stage takes time to execute so you have more control compared to freestyle.
    - Pipeline is groovy based script that have set of plug-ins integrated for automating the builds, deployment and test execution.
    - Pipeline defines your entire build process, which typically includes stages for building an application, testing it and then delivering it.
    - You can use snippet generator to generate pipeline code for the stages you don't know how to write groovy code.
    - Pipelines are two types - Scripted pipeline and Declarative pipeline
    Jenkins Pipeline execution engine supports two DSL syntaxes: Scripted Pipeline and Declarative Pipeline.
    www.coachdevop...
  • Наука та технологія

КОМЕНТАРІ • 119

  • @ashharperwez7077
    @ashharperwez7077 3 роки тому +5

    I was struggling with Jenkins pipeline but now everything is clear.. Thank you so much for detailed video

  • @sankararaorajamandri1972
    @sankararaorajamandri1972 Рік тому +1

    I've been watching many UA-cam videos on CICD Scripted/Declarative Pipeline code and didnt get proper understanding. I got it clarify from this channel . thanks DevOps Coach . Really awesome

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      Sankara - Great to hear! Thank you so much!

  • @shristisingh3072
    @shristisingh3072 24 дні тому +1

    Best explanation ever

  • @user-js4yx6sz5c
    @user-js4yx6sz5c 6 місяців тому +1

    Hello Sir.... Your content is Simple, Crispy, Crystal clear, Superb.... This is Amazing.

    • @DevOpsCoach
      @DevOpsCoach  6 місяців тому +1

      Thanks a ton, keep watching and learning

  • @chalapathirao4981
    @chalapathirao4981 Рік тому +2

    Thanks a lot you way of teaching it's amazing i gain a lot knowledge by watching your posted videos

  • @antony2684
    @antony2684 Рік тому +1

    Like 3 months, i was struggling to find way to understand devops. Great video sir.

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      Glad you liked it, thank you 🙏

    • @antony2684
      @antony2684 Рік тому

      @@DevOpsCoach if the github sample java web link is there, it will be helpful

  • @RahulSharmaSingularity
    @RahulSharmaSingularity Рік тому +1

    One of the best tutorials on youtube !

  • @monicamastagar3852
    @monicamastagar3852 2 роки тому +1

    very nicely explained. best video for those who started learning jenkins CI/CD

  • @krakesh2003in
    @krakesh2003in Рік тому +1

    Thanks for details Jenkins Declarative Pipeline

  • @shubhampawar-ms2ct
    @shubhampawar-ms2ct Рік тому +1

    Awesome!! detail explanation feels like working in actual CI/CD production environment for any organization.

  • @master2466
    @master2466 2 роки тому +1

    Brilliant! Liked use of Snippett Generator, which was missing in most of other Jenkins videos on youtube

  • @pankajbarge9607
    @pankajbarge9607 3 місяці тому +1

    Superb Content!!! 😍

  • @sivaprasad7555
    @sivaprasad7555 3 роки тому +1

    sir, you have invested lot of time and effort for us thank you very much.... and applause for your work...

  • @MrMaheshb
    @MrMaheshb 2 роки тому +1

    It was a clear explanation. ThankYou for your efforts!!

  • @raminbohlouli1969
    @raminbohlouli1969 Рік тому +1

    Very Informative

  • @aviad-co1
    @aviad-co1 Рік тому +1

    Thanks... Great video

  • @snehakadur2947
    @snehakadur2947 6 місяців тому

    Hello sir, I really love all your videos on this Channel. I learnt most of the concepts of DevOps on this channel. Sir, If possible Can you make a video on complete CI/CD pipeline (parametrized one)... I mean from getting source code from github to deploying on Amazon EKS using different tools like ,Ansible playbooks ,ArgoCD, Helm, Trivy etc. The way you explain topics sorry but I don't even have any words ...... but only one thing I can say that you are a great preceptor......

    • @DevOpsCoach
      @DevOpsCoach  6 місяців тому

      try this video on my channel: ua-cam.com/video/Ojb9Rh0BcvA/v-deo.html

    • @snehakadur2947
      @snehakadur2947 6 місяців тому

      @@DevOpsCoach Thanks a ton sir... Also if possible can you make a video on Ansible also ... I mean how it deploys on k8s and local repository of a company (or dockerhub)........

  • @goldie12577
    @goldie12577 2 роки тому +1

    Love this. You are the best.

  • @arureddy4402
    @arureddy4402 Рік тому +1

    very useful information for freshers❤

  • @minizone2304
    @minizone2304 Рік тому

    SUPER SIR ,Very clearly u have explained

  • @ksubrahmanyam7747
    @ksubrahmanyam7747 2 роки тому +1

    very valueble subject you shared, Thank you so much, we are expecting more knowledge sharing from you.

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому +1

      You are most welcome, thank you, I will.

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      Check out the playlist in my UA-cam channel: www.youtube.com/@DevOpsCoach/playlists

  • @ramanjaneyareddy9026
    @ramanjaneyareddy9026 2 роки тому +1

    Whatta explanation!! ❤️
    Love this thank you soo much.. ❤️

  • @ameydeshmane
    @ameydeshmane Рік тому +1

    Just WOW !!!

  • @parames3039
    @parames3039 2 роки тому +1

    So neatly explanation sir thank u

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому

      Glad you liked it, thanks Paramesh

    • @parames3039
      @parames3039 2 роки тому

      @@DevOpsCoach sir can u please explain kubernetes in same as it is

  • @Nani22670
    @Nani22670 2 роки тому

    thank you sir for detail explanation

  • @sandv2902
    @sandv2902 3 роки тому +1

    Awesome Sir!!!

  • @yogireddy8129
    @yogireddy8129 3 роки тому +1

    awesome as per jenkins part thanks you

  • @SumitKarmakar
    @SumitKarmakar 3 роки тому +1

    This is very useful content, far better than so many overrated channels.
    I need some information on the cost to deploy/host the tools like Jenkins, nexus onto ec2. When we install these tools on ec2 free tire, are they chargeable?

    • @DevOpsCoach
      @DevOpsCoach  3 роки тому

      Thanks Sumit for your kind words.. regarding your question, it depends on your usage on those EC2 instance in free tier. you can stop them when not in use.

  • @jeeva247
    @jeeva247 2 роки тому

    Thank you sir, it was clear explanation

  • @padmadasp599
    @padmadasp599 3 роки тому +1

    superb :-)

  • @adeakin3467
    @adeakin3467 3 роки тому

    Nice one Mr Success

  • @maheshwane5078
    @maheshwane5078 3 роки тому +4

    Hello sir thanks for the detailed video of each stage. I have small daubt, in while uploading to nexus you mentioned artifact id and version but everytime version get change then do we have to change configuration of pipeline each time ?

  • @gurleenpannu1340
    @gurleenpannu1340 3 роки тому

    very well explained!!

  • @benaam5441
    @benaam5441 Рік тому +1

    Please make ond video for scripted pipeline too

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      we already have video on this --> ua-cam.com/video/nfmt4HWhp5k/v-deo.html

  • @charankumar3994
    @charankumar3994 3 роки тому

    nice explaination

  • @sunildhakad833
    @sunildhakad833 2 роки тому +1

    It was very good session for me....Kindly please provide your repository url.......If possible

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому +1

      github.com/akannan1087/myApr2022weekendRepo

  • @yarlagadda54
    @yarlagadda54 3 роки тому

    excellent

  • @bibhudattasahoo2174
    @bibhudattasahoo2174 3 роки тому +2

    can we define node/slave/agent in each stage of scripted pipeline like declarative

    • @SumitKarmakar
      @SumitKarmakar 3 роки тому

      This is good questions. I also need the answer to this.

  • @tapankumarnayak1664
    @tapankumarnayak1664 4 місяці тому +1

    I have a doubt regarding nexus.
    Why are we using this and what it does before deploying the code?

    • @DevOpsCoach
      @DevOpsCoach  4 місяці тому +1

      Nexus is for mainly storing build artifacts such as Jar, War and Ear files.

    • @tapankumarnayak1664
      @tapankumarnayak1664 4 місяці тому +1

      @@DevOpsCoach Thank you for clearing my doubt.

  • @karthicksai4226
    @karthicksai4226 2 роки тому +2

    why you are having separated machines for nexus , sonarqube and jenkins???????

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому +1

      To avoid single point of failure and also to have the flexibility to scale up

    • @karthicksai4226
      @karthicksai4226 2 роки тому +1

      @@DevOpsCoach what if I'm having multiple projects and if a I have miltple slaves machines.. Do i need to install those things in all my slave machines??? I'm confused pls clear me out

    • @sumanthr9742
      @sumanthr9742 2 роки тому

      @@karthicksai4226 even I have this doubt.... author kindly reply

  • @mounikareddy4882
    @mounikareddy4882 3 роки тому +1

    What is the difference between echo and println in jenkins scripted pipeline.
    I’m considering functionality of echo and print are same .
    Am I correct

  • @udaykumar-tb5kn
    @udaykumar-tb5kn 2 роки тому

    Hi brother can you please make video on how jenkins can be integrated with sql server or any db to run database scripts

  • @sirajtr4226
    @sirajtr4226 Рік тому

    Is it how the ci/cd pipeline is used in real production environment?What to do if we have to use docker and kubernetes

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      www.coachdevops.com/2022/01/deploy-springboot-microservices-app_11.html

  • @mohammedshahbaazshareef5549
    @mohammedshahbaazshareef5549 3 роки тому

    Thanks for the explanation, how can we pass some parameters dynamically for such pipeline scrips ?

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому

      Please watch this video to learn how to pass parameters to pipeline -> ua-cam.com/video/vRG_JqTwb94/v-deo.html

  • @ivyatregenio2330
    @ivyatregenio2330 2 роки тому +1

    How to include the functional testing in pipeline? Thank you!

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      You can work with qa team and call their automated testing suite as part of Jenkins pipeline as you deploy to QA/TEST environment

  • @Manojkumar-nt8mp
    @Manojkumar-nt8mp 6 місяців тому

    hi i would like to try this but how to get the pom.xml file
    can you share your repo?

  • @arieff1508
    @arieff1508 3 роки тому

    Hi, I have scenario like jenkins and ansible server two different aws ec2 servers i have been trying to deploy an app by using jenkins pipeline. Please tell me how to integrate jenkins and ansible b/w two different sever. Please suggest how write jenkins pipeline job

  • @MrMaheshb
    @MrMaheshb 2 роки тому

    For the code part in approvals section, does it need any plugins to be installed

  • @sruthireddy2127
    @sruthireddy2127 3 роки тому

    Can u explain detail configuration about Sonarqube integration through jenkins

    • @DevOpsCoach
      @DevOpsCoach  3 роки тому

      Sruthi - please watch my sonarqube setup video - ua-cam.com/video/ci__UZQDclM/v-deo.html

    • @sruthireddy2127
      @sruthireddy2127 3 роки тому +1

      @@DevOpsCoach do u have any link for all those steps....installation is good but I need declarative pipeline job configuration through jenkins

  • @sonalivarshney198
    @sonalivarshney198 2 роки тому

    Sir i am having a small doubt.. after getting notification that Dev deploymnt is successful, how manager will come to know that he has to approve?

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому

      Team members should let him know

  • @bharath4195
    @bharath4195 Рік тому

    do we need to add anything in pom.xml for Sonarqube ?

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      yes..if you like to configure globally. docs.sonarqube.org/9.9/analyzing-source-code/scanners/sonarscanner-for-maven/

    • @bharath4195
      @bharath4195 Рік тому

      @@DevOpsCoach thank you🤩

  • @sruthireddy2127
    @sruthireddy2127 3 роки тому

    Do u have any video on jfrog integration with jenkins

    • @DevOpsCoach
      @DevOpsCoach  3 роки тому +1

      yes, please browse through my channel..here is the link --> ua-cam.com/video/GRX8zTSsNyc/v-deo.html

  • @sarvothammarella8228
    @sarvothammarella8228 2 роки тому

    it not showing deploy war/ear in snipped genrator

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому

      you need to install deploy to container plug-in

  • @sivasankar8412
    @sivasankar8412 3 роки тому

    what is that time out in dev approval stage?

    • @DevOpsCoach
      @DevOpsCoach  3 роки тому

      it will wait for specified time for approved to approve/reject that stage before next stage..you can always change it

  • @deveshchoudhary121
    @deveshchoudhary121 Рік тому +1

    Improve your voice quality to grow your channel

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      Ok thanks, please do check latest videos