SlideShare uma empresa Scribd logo
1 de 11
What is Jenkins
An Introduction
Jenkins is the leading open source continuous integration tool.
Jenkins was originally developed as the Hudson project. Hudson's
creation started in summer of 2004 at Sun Microsystems.
In November 2010, an issue arose in the Hudson community with respect
to the infrastructure used. Negotiations were held between the principal
project contributors and Oracle; a key sticking point was the control of the
name "Hudson" itself, which Oracle claimed, and on January 11, 2011, a
proposal was made to change the project name from "Hudson" to
"Jenkins".
What is Jenkins...
On February 1, 2011, Oracle said that they intended to continue development of
Hudson, and considered Jenkins a fork rather than a rename. As of December
2016, the Jenkins organization on Git Hub had 638 project members and around
1,800 public repositories, compared with Hudson's 32 project members and 17
public repositories.
Hudson is not maintained anymore, Jenkins is the replacement for it.
Jenkins builds and tests our software continuously and monitors the execution
and status of remote jobs, making it easier for team members and users to
regularly obtain the latest stable code
What is Continuous Integration
Continuous Integration is a development practice in which
developers are required to commit changes to source code in a
shared repository several times a day. Every commit is then
build and this allows the teams to detect problems early.
It then bring following benefits to software development:
1) Catch issues fast and nip them in the bud.
2) Everyone can see what’s happening.
3) Automate the build.
4) Continuous Integration leads to Continuous Deployment
allowing us to deliver software more rapidly
What is Continuous Integration
• Continuous Integration is a software development practice in which
developers are required to frequently commit changes to the source
code in a shared repository. Each commit is then continuously pulled
& built. Jenkins is an open-source, Continuous Integration (CI) tool,
written in Java. It continuously pulls, builds and tests any code
commits made by a developer with the help of plugins.
Different Types of Jenkins Jobs
• Jenkins provides the option of choosing from different types of jobs to build your
project.
• Below are the types of jobs you can choose from:
Freestyle :
Freestyle build jobs are general-purpose build jobs, which provides maximum
flexibility. It can be used for any type of project.
Pipeline :
This project runs the entire software development workflow as code. Instead of
creating several jobs for each stage of software development, you can now run the
entire workflow as one code.
Multiconfiguration :
The multiconfiguration project allows you to run the same build job on
different environments. It is used for testing an application in different
environments.
Folder :
This project allows users to create folders to organize and categorize
similar jobs in one folder or subfolder.
GitHub Organization :
This project scans your entire GitHub organization and creates Pipeline
jobs for each repository containing a Jenkinsfile
Multibranch Pipeline
This project type lets you implement different Jenkinsfiles for different
branches of the same project.
Pipeline Concepts :
The below fundamentals are common to both, scripted and declarative
pipeline :
Pipeline: A user-defined block which contains all the stages. It is a key part of
declarative pipeline syntax.
Node: A node is a machine that executes an entire workflow. It is a key part
of the scripted pipeline syntax.
Agent: instructs Jenkins to allocate an executor for the builds. It is defined
for an entire pipeline or a specific stage.
Jenkins Tips and Tricks
Start, stop and restart Jenkins
• Follow the below command to start, stop and restart Jenkins through
the CLI.
• $ sudo service jenkins restart
• $ sudo service jenkins stop
• $ sudo service jenkins start

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Jenkins for java world
Jenkins for java worldJenkins for java world
Jenkins for java world
 
Jenkins CI presentation
Jenkins CI presentationJenkins CI presentation
Jenkins CI presentation
 
Jenkins
JenkinsJenkins
Jenkins
 
An Introduction To Jenkins
An Introduction To JenkinsAn Introduction To Jenkins
An Introduction To Jenkins
 
Jenkins-CI
Jenkins-CIJenkins-CI
Jenkins-CI
 
Introduction to jenkins
Introduction to jenkinsIntroduction to jenkins
Introduction to jenkins
 
Jenkins tutorial for beginners
Jenkins tutorial for beginnersJenkins tutorial for beginners
Jenkins tutorial for beginners
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Jenkins 101: Getting Started
Jenkins 101: Getting StartedJenkins 101: Getting Started
Jenkins 101: Getting Started
 
Jenkins Pipelines
Jenkins PipelinesJenkins Pipelines
Jenkins Pipelines
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
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
 
Introduction to Docker Compose
Introduction to Docker ComposeIntroduction to Docker Compose
Introduction to Docker Compose
 
Gitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement ContinueGitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement Continue
 
CICD with Jenkins
CICD with JenkinsCICD with Jenkins
CICD with Jenkins
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 
Jenkins Tutorial.pdf
Jenkins Tutorial.pdfJenkins Tutorial.pdf
Jenkins Tutorial.pdf
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
CI/CD with Openshift and Jenkins
CI/CD with Openshift and JenkinsCI/CD with Openshift and Jenkins
CI/CD with Openshift and Jenkins
 

Semelhante a Jenkins

Continous Integration.pptx
Continous Integration.pptxContinous Integration.pptx
Continous Integration.pptx
Anuj Sharma
 
lfpub_cp_cost_estimate2015 (1)
lfpub_cp_cost_estimate2015 (1)lfpub_cp_cost_estimate2015 (1)
lfpub_cp_cost_estimate2015 (1)
Amanda McPherson
 
Rolling Your Own Embedded Linux Distribution
Rolling  Your  Own  Embedded  Linux  DistributionRolling  Your  Own  Embedded  Linux  Distribution
Rolling Your Own Embedded Linux Distribution
Emanuele Bonanni
 

Semelhante a Jenkins (20)

Jenkins pipeline as code
Jenkins pipeline as codeJenkins pipeline as code
Jenkins pipeline as code
 
Continous Integration.pptx
Continous Integration.pptxContinous Integration.pptx
Continous Integration.pptx
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
 
Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020Top 10 Best DevOps tools in 2020
Top 10 Best DevOps tools in 2020
 
Integração contínua com Jenkins
Integração contínua com JenkinsIntegração contínua com Jenkins
Integração contínua com Jenkins
 
Contineous integration
Contineous integrationContineous integration
Contineous integration
 
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using JenkinsLouisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
 
Basic Jenkins Guide.pptx
Basic Jenkins Guide.pptxBasic Jenkins Guide.pptx
Basic Jenkins Guide.pptx
 
lfpub_cp_cost_estimate2015 (1)
lfpub_cp_cost_estimate2015 (1)lfpub_cp_cost_estimate2015 (1)
lfpub_cp_cost_estimate2015 (1)
 
Rolling Your Own Embedded Linux Distribution
Rolling  Your  Own  Embedded  Linux  DistributionRolling  Your  Own  Embedded  Linux  Distribution
Rolling Your Own Embedded Linux Distribution
 
Agile Software Development & Tools
Agile Software Development & ToolsAgile Software Development & Tools
Agile Software Development & Tools
 
A $5 Billion Value (Linux Foundation, 2015)
A $5 Billion Value (Linux Foundation, 2015)A $5 Billion Value (Linux Foundation, 2015)
A $5 Billion Value (Linux Foundation, 2015)
 
Jenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryJenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous Delivery
 
Top 10 dev ops tools (1)
Top 10 dev ops tools (1)Top 10 dev ops tools (1)
Top 10 dev ops tools (1)
 
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
 
Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016
Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016
Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016
 
Gaganjot Kaur- The Nx Workspace.docx
Gaganjot Kaur- The Nx Workspace.docxGaganjot Kaur- The Nx Workspace.docx
Gaganjot Kaur- The Nx Workspace.docx
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
How to Contribute to Cloud Native Computing Foundation
How to Contribute to Cloud Native Computing FoundationHow to Contribute to Cloud Native Computing Foundation
How to Contribute to Cloud Native Computing Foundation
 
How to contribute to cloud native computing foundation (CNCF)
How to contribute to cloud native computing foundation (CNCF)How to contribute to cloud native computing foundation (CNCF)
How to contribute to cloud native computing foundation (CNCF)
 

Mais de penetration Tester (20)

Maven
MavenMaven
Maven
 
Jenkins
JenkinsJenkins
Jenkins
 
Sonar qube
Sonar qubeSonar qube
Sonar qube
 
Owasp zap
Owasp zapOwasp zap
Owasp zap
 
Sonarlint
SonarlintSonarlint
Sonarlint
 
Shift left
Shift leftShift left
Shift left
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment Strategies
 
DSOMM
DSOMMDSOMM
DSOMM
 
Devops
DevopsDevops
Devops
 
Shift left
Shift leftShift left
Shift left
 
Lfi
LfiLfi
Lfi
 
Directory traversal
Directory traversalDirectory traversal
Directory traversal
 
Burp documentation
Burp documentationBurp documentation
Burp documentation
 
7 layer OSI model
7 layer OSI model7 layer OSI model
7 layer OSI model
 
Virtual box
Virtual boxVirtual box
Virtual box
 
Tcp IP OSI
Tcp IP OSITcp IP OSI
Tcp IP OSI
 
Burp repeater
Burp repeaterBurp repeater
Burp repeater
 
Burp intruder
Burp intruderBurp intruder
Burp intruder
 
Hippa
Hippa Hippa
Hippa
 
Nist
NistNist
Nist
 

Último

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

Jenkins

  • 2. An Introduction Jenkins is the leading open source continuous integration tool. Jenkins was originally developed as the Hudson project. Hudson's creation started in summer of 2004 at Sun Microsystems. In November 2010, an issue arose in the Hudson community with respect to the infrastructure used. Negotiations were held between the principal project contributors and Oracle; a key sticking point was the control of the name "Hudson" itself, which Oracle claimed, and on January 11, 2011, a proposal was made to change the project name from "Hudson" to "Jenkins".
  • 3. What is Jenkins... On February 1, 2011, Oracle said that they intended to continue development of Hudson, and considered Jenkins a fork rather than a rename. As of December 2016, the Jenkins organization on Git Hub had 638 project members and around 1,800 public repositories, compared with Hudson's 32 project members and 17 public repositories. Hudson is not maintained anymore, Jenkins is the replacement for it. Jenkins builds and tests our software continuously and monitors the execution and status of remote jobs, making it easier for team members and users to regularly obtain the latest stable code
  • 4. What is Continuous Integration Continuous Integration is a development practice in which developers are required to commit changes to source code in a shared repository several times a day. Every commit is then build and this allows the teams to detect problems early. It then bring following benefits to software development: 1) Catch issues fast and nip them in the bud. 2) Everyone can see what’s happening. 3) Automate the build. 4) Continuous Integration leads to Continuous Deployment allowing us to deliver software more rapidly
  • 5. What is Continuous Integration
  • 6. • Continuous Integration is a software development practice in which developers are required to frequently commit changes to the source code in a shared repository. Each commit is then continuously pulled & built. Jenkins is an open-source, Continuous Integration (CI) tool, written in Java. It continuously pulls, builds and tests any code commits made by a developer with the help of plugins.
  • 7. Different Types of Jenkins Jobs • Jenkins provides the option of choosing from different types of jobs to build your project. • Below are the types of jobs you can choose from: Freestyle : Freestyle build jobs are general-purpose build jobs, which provides maximum flexibility. It can be used for any type of project. Pipeline : This project runs the entire software development workflow as code. Instead of creating several jobs for each stage of software development, you can now run the entire workflow as one code.
  • 8. Multiconfiguration : The multiconfiguration project allows you to run the same build job on different environments. It is used for testing an application in different environments. Folder : This project allows users to create folders to organize and categorize similar jobs in one folder or subfolder. GitHub Organization : This project scans your entire GitHub organization and creates Pipeline jobs for each repository containing a Jenkinsfile
  • 9. Multibranch Pipeline This project type lets you implement different Jenkinsfiles for different branches of the same project.
  • 10. Pipeline Concepts : The below fundamentals are common to both, scripted and declarative pipeline : Pipeline: A user-defined block which contains all the stages. It is a key part of declarative pipeline syntax. Node: A node is a machine that executes an entire workflow. It is a key part of the scripted pipeline syntax. Agent: instructs Jenkins to allocate an executor for the builds. It is defined for an entire pipeline or a specific stage.
  • 11. Jenkins Tips and Tricks Start, stop and restart Jenkins • Follow the below command to start, stop and restart Jenkins through the CLI. • $ sudo service jenkins restart • $ sudo service jenkins stop • $ sudo service jenkins start