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... - Наука та технологія
I was struggling with Jenkins pipeline but now everything is clear.. Thank you so much for detailed video
You are welcome 😊
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
Sankara - Great to hear! Thank you so much!
Best explanation ever
Thank you!
Hello Sir.... Your content is Simple, Crispy, Crystal clear, Superb.... This is Amazing.
Thanks a ton, keep watching and learning
Thanks a lot you way of teaching it's amazing i gain a lot knowledge by watching your posted videos
Glad you learnt something
Like 3 months, i was struggling to find way to understand devops. Great video sir.
Glad you liked it, thank you 🙏
@@DevOpsCoach if the github sample java web link is there, it will be helpful
One of the best tutorials on youtube !
thank you so much!
very nicely explained. best video for those who started learning jenkins CI/CD
Glad it was helpful!
Thanks for details Jenkins Declarative Pipeline
Glad it was helpful!
Awesome!! detail explanation feels like working in actual CI/CD production environment for any organization.
Glad you liked them
Brilliant! Liked use of Snippett Generator, which was missing in most of other Jenkins videos on youtube
Glad you liked it
Superb Content!!! 😍
Glad you liked it
sir, you have invested lot of time and effort for us thank you very much.... and applause for your work...
It's my pleasure, thanks!
It was a clear explanation. ThankYou for your efforts!!
Glad it was helpful!
Very Informative
Glad you think so!
Thanks... Great video
Glad you liked it!
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......
try this video on my channel: ua-cam.com/video/Ojb9Rh0BcvA/v-deo.html
@@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)........
Love this. You are the best.
Thanks
very useful information for freshers❤
Glad it was helpful!
SUPER SIR ,Very clearly u have explained
Thanks and welcome
very valueble subject you shared, Thank you so much, we are expecting more knowledge sharing from you.
You are most welcome, thank you, I will.
Check out the playlist in my UA-cam channel: www.youtube.com/@DevOpsCoach/playlists
Whatta explanation!! ❤️
Love this thank you soo much.. ❤️
You're so welcome!
Just WOW !!!
Glad you liked it!
So neatly explanation sir thank u
Glad you liked it, thanks Paramesh
@@DevOpsCoach sir can u please explain kubernetes in same as it is
thank you sir for detail explanation
So nice of you
Awesome Sir!!!
Thank you! Cheers!
awesome as per jenkins part thanks you
Glad you liked it
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?
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.
Thank you sir, it was clear explanation
Glad it helped
superb :-)
Thank you! Cheers!
Nice one Mr Success
Appreciated
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 ?
No, not required
not needed for maven snapshots repo in Nexus...
very well explained!!
Glad it was helpful!
Please make ond video for scripted pipeline too
we already have video on this --> ua-cam.com/video/nfmt4HWhp5k/v-deo.html
nice explaination
Thanks for liking
It was very good session for me....Kindly please provide your repository url.......If possible
github.com/akannan1087/myApr2022weekendRepo
excellent
Thank you! Cheers!
can we define node/slave/agent in each stage of scripted pipeline like declarative
This is good questions. I also need the answer to this.
I have a doubt regarding nexus.
Why are we using this and what it does before deploying the code?
Nexus is for mainly storing build artifacts such as Jar, War and Ear files.
@@DevOpsCoach Thank you for clearing my doubt.
why you are having separated machines for nexus , sonarqube and jenkins???????
To avoid single point of failure and also to have the flexibility to scale up
@@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
@@karthicksai4226 even I have this doubt.... author kindly reply
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
yes.. that is right
Hi brother can you please make video on how jenkins can be integrated with sql server or any db to run database scripts
Is it how the ci/cd pipeline is used in real production environment?What to do if we have to use docker and kubernetes
www.coachdevops.com/2022/01/deploy-springboot-microservices-app_11.html
Thanks for the explanation, how can we pass some parameters dynamically for such pipeline scrips ?
Please watch this video to learn how to pass parameters to pipeline -> ua-cam.com/video/vRG_JqTwb94/v-deo.html
How to include the functional testing in pipeline? Thank you!
You can work with qa team and call their automated testing suite as part of Jenkins pipeline as you deploy to QA/TEST environment
hi i would like to try this but how to get the pom.xml file
can you share your repo?
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
For the code part in approvals section, does it need any plugins to be installed
not required..
Can u explain detail configuration about Sonarqube integration through jenkins
Sruthi - please watch my sonarqube setup video - ua-cam.com/video/ci__UZQDclM/v-deo.html
@@DevOpsCoach do u have any link for all those steps....installation is good but I need declarative pipeline job configuration through jenkins
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?
Team members should let him know
do we need to add anything in pom.xml for Sonarqube ?
yes..if you like to configure globally. docs.sonarqube.org/9.9/analyzing-source-code/scanners/sonarscanner-for-maven/
@@DevOpsCoach thank you🤩
Do u have any video on jfrog integration with jenkins
yes, please browse through my channel..here is the link --> ua-cam.com/video/GRX8zTSsNyc/v-deo.html
it not showing deploy war/ear in snipped genrator
you need to install deploy to container plug-in
what is that time out in dev approval stage?
it will wait for specified time for approved to approve/reject that stage before next stage..you can always change it
Improve your voice quality to grow your channel
Ok thanks, please do check latest videos