SlideShare una empresa de Scribd logo
1 de 6
LinuxDady.Com
What is Jenkins tool for beginners?
For more information visit
https://linuxdady.com
Jenkins tool and its basic
terminology
Jenkins tool. In the world of IT sector Jenkins automation tool is very famous
and useful. So, I think everyone will be aware about it. Here we are going to
learn What is Jenkins and Its build process in detail? In the end of tutorial we
will bind up some Jenkins basic terminology.
What is Jenkins?
Jenkins is a framework that is use to achieve CI/CD ( Continuous
Integration/Continuous Deployment) in IT infra.
If anyone ask about definition, then this is enough. But if anyone want to know
what logic are working behind Jenkins tool. Then we have to explain Jenkins
tool in details. Let’s first understand software build process means what
happen when our developer write a code?
Software Build Process
I think we all are DevOps engineers. So, we should aware first how a software
or application become ready. What happened in the background when
developers are working on the application? What is the build process? These
are the common questionthat should bein mind ofevery DevOpsengineers. So,
without doing clear these questions no benefit of learning Jenkins tool. Let do
it
There are mainly six phages to pass and reach developer code from their
system to production environment. let’s discuss one by one.
code compiling
When developers write their code and submit to concern team. Then concern
team will first compile their code means they will check code is converting
properly into machine understanding language or not. Finally, I want to say
they will check machine is understanding ourcoding properly or not. If there is
any mistake in our code like syntax or spelling then they will inform to
developers. This whole process is called code compiling. To compile code we
can use JDK and GCC etc.
Code review
If code has been compiled properly then our second step is code review . With
the help of code review, we can detect code warning, security vulnerability,
loophole in code etc.
Test cases
By test case we can check our program logic like suppose we have written a
program into our code 10 +10 =20. So, when you give input 10 + 10 its output
should be properly 20 instead of 21,25 etc. All such kind oflogic is check in test
case. In the last you can say here condition of our code will be tested. They are
working properly or not.
code coverage
After code testing this is very important step. With the help of this we can
manage our code weightage means If client says to our team write a sum
program 10 + 10 =20 and our team write this program in 150 line but your
result is covered properly in 100 lines then 50 line is waste. Extra line will
increase orcode weightageand execution time. So,to avoid this we will test our
code coverage.means ifour team are writing 100 line in code 95 must work 5%
we can ignore.
Packaging
If you are thinking everything is OK then packaging comes into the scenario
means by this process we are packaging ourcode into .war, .ear.jar etc file like
code.war, code.ear, code.jar etc. If I will explain in simple language we are
zipping our code for deployment.
Deployment
Deployment means Which application server like JBoss, Tomcat we are using
to executeour code.Deployment is not a rocket science we just simply copy our
zip file into root directory of application serverlike in case oftomcat /webapps
root directory depends on application server.
I hope build process has been clear. Now we are going to understand workflow
of Jenkins tool by diagram.
Workflow diagram of Jenkins tool
When developer commit their changes into VCS then webhook trigger will
generate then Jenkins toolcomes in scenario and pull developers changes from
their branch and deploy by using all above described phases.
[Click & Read:– How to setup docker registry server]
[Click & Read:– Docker container commands for beginners]
Why Jenkins tool in our infra?
Let supposeyourdevelopmentteam making 100 commitsin day and saysmake
the build and deploy it on application server. Now let suppose your code is not
building properly and getting fail . So now there is big problem in front of
developer they have to check their all changes from starting to end. So, this is
waste oftime and manpower.If their codewas deployed on every commit, then
there was easy to track issues.But at every commit manually deploymentis not
possible. Because let suppose developer is making 500 commits in a day then.
So, we need to automate our task to track issue on every commit. That
why Jenkins tool comes in scenario when developer commit their code it will
automatically deploy code and send the fails or pass report to developer on
every commit.
What does Jenkins tool?
If you want to understand what Jenkins does,then let take a scenario developer
are making continuous changes into the code they are only focused on their
commit or changes . In the backend our Jenkins or you can say CI/CD tools is
configured what he does ? When developer will commit their code into VCS
system like GIT,SVN etc. Then Jenkins frequently will do code compile, code
review, testing, code coverage, packaging and deploying in backend and
sending fail pass report to developer. Before Jenkins all these tasks we are
doing manually.
What is CI/CD tools?
Continuous integration/Continuous deployment is the hole process of code
building by which we can compile, code review, testing, code coverage,
packaging and deployment and if in-between ourcode is getting fail, we will get
continuous mail.
What is Jenkins tool in details?
I think now you will understand better what is Jenkins?
In single line if I will explain what is Jenkins then this is only a framework with
the help of this framework we can achieve CI/CD by using plugins. Jenkins
cannot replace any technology like Maven, pmd/SonarQube ,Junit, sure-fire
cobertura there are running in the backend in form of plugins we have just
integrated these technologies with Jenkins in form of plugins. So, Jenkins is just
only a framework.
Jenkins master : Jenkins master means from where you are managing your
complete administrator like SMTP integration , Git integration Project
management,Usermanagement etc. Mean from master we will manageJenkins
console.
Jenkins Slave : Slave is used to provide add on hardware to a specific job.
Case when we required Jenkins slave
Case 1 : If we cannot extend masterhardware.
Case 2 : If we are running multiple project at a time that increase build time
creation then we can use slave concept
Case 3 : Where you are not willing to vertical scaling then you can do
horizontal scaling of master.
Jenkins Project : Project is a set of interaction like which stage of code you
want to build like compiling,code review, testing,code coverage,packaging etc.
Jenkins Plugins : Withoutplugin Jenkinsis nothingmeans without plugin it’s
like an empty box. Only with the help of plugin we can perform all task like
integration and complete build process.
Conclusion
I think you have understood very well concept of Jenkins tool and it use case in
ourdaily life. So before working on Jenkins we shouldknow how Jenkinstool is
working. So, I have tried my best still if anyone have any query write me in
comment box. I will try my best to resolve them.
Interview question related to Jenkins tool
Q) What is Jenkins?
Q) Which one version you are using in your infra?
Q) What is default port of Jenkins?
Q) Can Jenkins test java project ?
Ans — Jenkins cannot test java project. Because Jenkins is just a framework. If
you want to testing java code. you have to installed plugins according to your
requirement. So Jenkins capability is depends on which technology you have
integrated with Jenkins in from of plugins.
Q) What are the daily routine task of Jenkins tool?
 Jenkins complete integration like
 Plugin installation
 Integration with git
 SMTP integration
 Assign user roles
 Make new project
 Integrate with tomcat/JBoss
 Update plugin if required.
Q) What is preferred hardware requirement of Jenkins?
In Production it is preferred : 16 GB RAM, 2 Dual core CPU, JDK
But simply you can say also It’s dependson how many projects you are building
at a time.

Más contenido relacionado

La actualidad más candente

Jenkins for java world
Jenkins for java worldJenkins for java world
Jenkins for java worldAshok Kumar
 
Introduction to jenkins
Introduction to jenkinsIntroduction to jenkins
Introduction to jenkinsAbe Diaz
 
(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines(Declarative) Jenkins Pipelines
(Declarative) Jenkins PipelinesSteffen Gebert
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CDHoang Le
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...Edureka!
 
Continuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous DeploymentContinuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous DeploymentChristopher Read
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with JenkinsMartin Málek
 
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaWhat is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaEdureka!
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+OpsShalu Ahuja
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...Simplilearn
 

La actualidad más candente (20)

CICD with Jenkins
CICD with JenkinsCICD with Jenkins
CICD with Jenkins
 
Jenkins Overview
Jenkins OverviewJenkins Overview
Jenkins Overview
 
Jenkins
JenkinsJenkins
Jenkins
 
Jenkins
JenkinsJenkins
Jenkins
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
Jenkins-CI
Jenkins-CIJenkins-CI
Jenkins-CI
 
Jenkins for java world
Jenkins for java worldJenkins for java world
Jenkins for java world
 
Jenkins Pipelines
Jenkins PipelinesJenkins Pipelines
Jenkins Pipelines
 
Introduction to jenkins
Introduction to jenkinsIntroduction to jenkins
Introduction to jenkins
 
(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
 
Continuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous DeploymentContinuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous Deployment
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with Jenkins
 
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | EdurekaWhat is Jenkins | Jenkins Tutorial for Beginners | Edureka
What is Jenkins | Jenkins Tutorial for Beginners | Edureka
 
Jenkins Tutorial.pdf
Jenkins Tutorial.pdfJenkins Tutorial.pdf
Jenkins Tutorial.pdf
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+Ops
 
CI/CD
CI/CDCI/CD
CI/CD
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 

Similar a What is jenkins

varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptxVgPolampalli
 
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptat
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptatDominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptat
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptatmdevtalk
 
Introduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning SimpleIntroduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning SimpleSandeep Hijam
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven DevelopmentEffective
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven DevelopmentJohn Blanco
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven DevelopmentEffectiveUI
 
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...Simplilearn
 
Who can be a DevOps Engineer.docx
Who can be a DevOps Engineer.docxWho can be a DevOps Engineer.docx
Who can be a DevOps Engineer.docxNivedithaRambhajan
 
Continuous integration
Continuous integrationContinuous integration
Continuous integrationBoris Dominic
 
mohansundarcv_2016
mohansundarcv_2016mohansundarcv_2016
mohansundarcv_2016mohan sundar
 
CI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift DeploymentCI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift DeploymentBintang Thunder
 
Using Jenkins as your go-to CI/CD tool
Using Jenkins as your go-to CI/CD toolUsing Jenkins as your go-to CI/CD tool
Using Jenkins as your go-to CI/CD toolpCloudy
 
Guided Path to DevOps Career.
Guided Path to DevOps Career.Guided Path to DevOps Career.
Guided Path to DevOps Career.wahabwelcome
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & SalesforceAbhinav Gupta
 
Continuous integration and delivery for java based web applications
Continuous integration and delivery for java based web applicationsContinuous integration and delivery for java based web applications
Continuous integration and delivery for java based web applicationsSunil Dalal
 
Devops - Continuous Integration And Continuous Development
Devops - Continuous Integration And Continuous DevelopmentDevops - Continuous Integration And Continuous Development
Devops - Continuous Integration And Continuous DevelopmentSandyJohn5
 
Introducing Continuous Integration Using Vsts
Introducing Continuous Integration Using VstsIntroducing Continuous Integration Using Vsts
Introducing Continuous Integration Using VstsMohamed Samy
 
Test driven development and react js application go hand in hand
Test driven development and react js application go hand in handTest driven development and react js application go hand in hand
Test driven development and react js application go hand in handKaty Slemon
 

Similar a What is jenkins (20)

varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
 
Jenkins
JenkinsJenkins
Jenkins
 
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptat
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptatDominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptat
Dominik Veselý - Vše co jste kdy chtěli vědět o CI a báli jste se zeptat
 
Introduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning SimpleIntroduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning Simple
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven Development
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven Development
 
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
 
Who can be a DevOps Engineer.docx
Who can be a DevOps Engineer.docxWho can be a DevOps Engineer.docx
Who can be a DevOps Engineer.docx
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
mohansundarcv_2016
mohansundarcv_2016mohansundarcv_2016
mohansundarcv_2016
 
Sunny Agrawal
Sunny AgrawalSunny Agrawal
Sunny Agrawal
 
CI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift DeploymentCI CD Jenkins for Swift Deployment
CI CD Jenkins for Swift Deployment
 
Using Jenkins as your go-to CI/CD tool
Using Jenkins as your go-to CI/CD toolUsing Jenkins as your go-to CI/CD tool
Using Jenkins as your go-to CI/CD tool
 
Guided Path to DevOps Career.
Guided Path to DevOps Career.Guided Path to DevOps Career.
Guided Path to DevOps Career.
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & Salesforce
 
Continuous integration and delivery for java based web applications
Continuous integration and delivery for java based web applicationsContinuous integration and delivery for java based web applications
Continuous integration and delivery for java based web applications
 
Devops - Continuous Integration And Continuous Development
Devops - Continuous Integration And Continuous DevelopmentDevops - Continuous Integration And Continuous Development
Devops - Continuous Integration And Continuous Development
 
Introducing Continuous Integration Using Vsts
Introducing Continuous Integration Using VstsIntroducing Continuous Integration Using Vsts
Introducing Continuous Integration Using Vsts
 
Test driven development and react js application go hand in hand
Test driven development and react js application go hand in handTest driven development and react js application go hand in hand
Test driven development and react js application go hand in hand
 

Último

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

What is jenkins

  • 1. LinuxDady.Com What is Jenkins tool for beginners? For more information visit https://linuxdady.com Jenkins tool and its basic terminology
  • 2. Jenkins tool. In the world of IT sector Jenkins automation tool is very famous and useful. So, I think everyone will be aware about it. Here we are going to learn What is Jenkins and Its build process in detail? In the end of tutorial we will bind up some Jenkins basic terminology. What is Jenkins? Jenkins is a framework that is use to achieve CI/CD ( Continuous Integration/Continuous Deployment) in IT infra. If anyone ask about definition, then this is enough. But if anyone want to know what logic are working behind Jenkins tool. Then we have to explain Jenkins tool in details. Let’s first understand software build process means what happen when our developer write a code? Software Build Process I think we all are DevOps engineers. So, we should aware first how a software or application become ready. What happened in the background when developers are working on the application? What is the build process? These are the common questionthat should bein mind ofevery DevOpsengineers. So, without doing clear these questions no benefit of learning Jenkins tool. Let do it There are mainly six phages to pass and reach developer code from their system to production environment. let’s discuss one by one. code compiling When developers write their code and submit to concern team. Then concern team will first compile their code means they will check code is converting properly into machine understanding language or not. Finally, I want to say they will check machine is understanding ourcoding properly or not. If there is any mistake in our code like syntax or spelling then they will inform to developers. This whole process is called code compiling. To compile code we can use JDK and GCC etc. Code review If code has been compiled properly then our second step is code review . With the help of code review, we can detect code warning, security vulnerability, loophole in code etc. Test cases
  • 3. By test case we can check our program logic like suppose we have written a program into our code 10 +10 =20. So, when you give input 10 + 10 its output should be properly 20 instead of 21,25 etc. All such kind oflogic is check in test case. In the last you can say here condition of our code will be tested. They are working properly or not. code coverage After code testing this is very important step. With the help of this we can manage our code weightage means If client says to our team write a sum program 10 + 10 =20 and our team write this program in 150 line but your result is covered properly in 100 lines then 50 line is waste. Extra line will increase orcode weightageand execution time. So,to avoid this we will test our code coverage.means ifour team are writing 100 line in code 95 must work 5% we can ignore. Packaging If you are thinking everything is OK then packaging comes into the scenario means by this process we are packaging ourcode into .war, .ear.jar etc file like code.war, code.ear, code.jar etc. If I will explain in simple language we are zipping our code for deployment. Deployment Deployment means Which application server like JBoss, Tomcat we are using to executeour code.Deployment is not a rocket science we just simply copy our zip file into root directory of application serverlike in case oftomcat /webapps root directory depends on application server. I hope build process has been clear. Now we are going to understand workflow of Jenkins tool by diagram. Workflow diagram of Jenkins tool When developer commit their changes into VCS then webhook trigger will generate then Jenkins toolcomes in scenario and pull developers changes from their branch and deploy by using all above described phases.
  • 4. [Click & Read:– How to setup docker registry server] [Click & Read:– Docker container commands for beginners] Why Jenkins tool in our infra? Let supposeyourdevelopmentteam making 100 commitsin day and saysmake the build and deploy it on application server. Now let suppose your code is not building properly and getting fail . So now there is big problem in front of developer they have to check their all changes from starting to end. So, this is waste oftime and manpower.If their codewas deployed on every commit, then there was easy to track issues.But at every commit manually deploymentis not possible. Because let suppose developer is making 500 commits in a day then. So, we need to automate our task to track issue on every commit. That why Jenkins tool comes in scenario when developer commit their code it will automatically deploy code and send the fails or pass report to developer on every commit. What does Jenkins tool? If you want to understand what Jenkins does,then let take a scenario developer are making continuous changes into the code they are only focused on their commit or changes . In the backend our Jenkins or you can say CI/CD tools is configured what he does ? When developer will commit their code into VCS system like GIT,SVN etc. Then Jenkins frequently will do code compile, code review, testing, code coverage, packaging and deploying in backend and
  • 5. sending fail pass report to developer. Before Jenkins all these tasks we are doing manually. What is CI/CD tools? Continuous integration/Continuous deployment is the hole process of code building by which we can compile, code review, testing, code coverage, packaging and deployment and if in-between ourcode is getting fail, we will get continuous mail. What is Jenkins tool in details? I think now you will understand better what is Jenkins? In single line if I will explain what is Jenkins then this is only a framework with the help of this framework we can achieve CI/CD by using plugins. Jenkins cannot replace any technology like Maven, pmd/SonarQube ,Junit, sure-fire cobertura there are running in the backend in form of plugins we have just integrated these technologies with Jenkins in form of plugins. So, Jenkins is just only a framework. Jenkins master : Jenkins master means from where you are managing your complete administrator like SMTP integration , Git integration Project management,Usermanagement etc. Mean from master we will manageJenkins console. Jenkins Slave : Slave is used to provide add on hardware to a specific job. Case when we required Jenkins slave Case 1 : If we cannot extend masterhardware. Case 2 : If we are running multiple project at a time that increase build time creation then we can use slave concept Case 3 : Where you are not willing to vertical scaling then you can do horizontal scaling of master. Jenkins Project : Project is a set of interaction like which stage of code you want to build like compiling,code review, testing,code coverage,packaging etc. Jenkins Plugins : Withoutplugin Jenkinsis nothingmeans without plugin it’s like an empty box. Only with the help of plugin we can perform all task like integration and complete build process. Conclusion
  • 6. I think you have understood very well concept of Jenkins tool and it use case in ourdaily life. So before working on Jenkins we shouldknow how Jenkinstool is working. So, I have tried my best still if anyone have any query write me in comment box. I will try my best to resolve them. Interview question related to Jenkins tool Q) What is Jenkins? Q) Which one version you are using in your infra? Q) What is default port of Jenkins? Q) Can Jenkins test java project ? Ans — Jenkins cannot test java project. Because Jenkins is just a framework. If you want to testing java code. you have to installed plugins according to your requirement. So Jenkins capability is depends on which technology you have integrated with Jenkins in from of plugins. Q) What are the daily routine task of Jenkins tool?  Jenkins complete integration like  Plugin installation  Integration with git  SMTP integration  Assign user roles  Make new project  Integrate with tomcat/JBoss  Update plugin if required. Q) What is preferred hardware requirement of Jenkins? In Production it is preferred : 16 GB RAM, 2 Dual core CPU, JDK But simply you can say also It’s dependson how many projects you are building at a time.