Learning Continuous Integration with Jenkins
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

Partager le livre
  1. 542 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

A beginner's guide to implementing Continuous Integration and Continuous Delivery using Jenkins

About This Book

  • Speed up and increase software productivity and software delivery using Jenkins
  • Automate your build, integration, release, and deployment processes with Jenkins—and learn how continuous integration (CI) can save you time and money
  • Explore the power of continuous delivery using Jenkins through powerful real-life examples

Who This Book Is For

This book is for anyone who wants to exploit the power of Jenkins. This book servers a great starting point for those who are in the field DevOps and would like to leverage the benefits of CI and continuous delivery in order to increase productivity and reduce delivery time.

What You Will Learn

  • Take advantage of a continuous delivery solution to achieve faster software delivery
  • Speed up productivity using a continuous Integration solution through Jenkins
  • Understand the concepts of CI and continuous delivery
  • Orchestrate many DevOps tools using Jenkins to automate builds, releases, deployment, and testing
  • Explore the various features of Jenkins that make DevOps activities a piece of cake
  • Configure multiple build machines in Jenkins to maintain load balancing
  • Manage users, projects, and permissions in Jenkins to ensure better security
  • Leverage the power of plugins in Jenkins

In Detail

In past few years, Agile software development has seen tremendous growth across the world. There is huge demand for software delivery solutions that are fast yet flexible to frequent amendments. As a result, CI and continuous delivery methodologies are gaining popularity. Jenkins' core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders.

This book starts off by explaining the concepts of CI and its significance in the Agile world with a whole chapter dedicated to it. Next, you'll learn to configure and set up Jenkins. You'll gain a foothold in implementing CI and continuous delivery methods. We dive into the various features offered by Jenkins one by one exploiting them for CI.

After that, you'll find out how to use the built-in pipeline feature of Jenkins. You'll see how to integrate Jenkins with code analysis tools and test automation tools in order to achieve continuous delivery. Next, you'll be introduced to continuous deployment and learn to achieve it using Jenkins.

Through this book's wealth of best practices and real-world tips, you'll discover how easy it is to implement a CI service with Jenkins.

Style and approach

This is a step-by-step guide to setting up a CI and continuous delivery system loaded with hands-on examples

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Learning Continuous Integration with Jenkins est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Learning Continuous Integration with Jenkins par Nikhil Pathania en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Software Development. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2016
ISBN
9781785284830
Édition
1

Learning Continuous Integration with Jenkins


Table of Contents

Learning Continuous Integration with Jenkins
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Concepts of Continuous Integration
The agile software development process
Software development life cycle
Requirement analysis
Design
Implementation
Testing
Evolution
The waterfall model of software development
Disadvantages of the waterfall model
Who needs the waterfall model?
Agile to the rescue
How does the agile software development process work?
The Scrum framework
Important terms used in the Scrum framework
How does Scrum work?
Sprint planning
Sprint cycle
Daily scrum meeting
Monitoring sprint progress
The sprint review
Sprint retrospective
Continuous Integration
An example to understand Continuous Integration
Agile runs on Continuous Integration
Types of project that benefit from Continuous Integration
The best practices of Continuous Integration
Developers should work in their private workspace
Rebase frequently from the mainline
Check-in frequently
Frequent build
Automate the testing as much as possible
Don't check-in when the build is broken
Automate the deployment
Have a labeling strategy for releases
Instant notifications
How to achieve Continuous Integration
Development operations
Use a version control system
An example to understand VCS
Types of version control system
Centralized version control systems
Distributed version control systems
Use repository tools
Use a Continuous Integration tool
Creating a self-triggered build
Automate the packaging
Using build tools
Maven
MSBuild
Automating the deployments
Automating the testing
Use static code analysis
Automate using scripting languages
Perl
Test in a production-like environment
Backward traceability
Using a defect tracking tool
Continuous Integration benefits
Freedom from long integrations
Production-ready features
Analyzing and reporting
Catch issues faster
Spend more time adding features
Rapid development
Summary
2. Setting up Jenkins
Introduction to Jenkins
What is Jenkins made of?
Jenkins job
Jenkins parameters
Jenkins build
Jenkins post-build actions
Jenkins pipeline
Jenkins plugins
Why use Jenkins as a Continuous Integration server?
It's open source
Community-based support
Lots of plugins
Jenkins has a cloud support
Jenkins as a centralized Continuous Integration server
Hardware requirements
Running Jenkins inside a container
Installing Jenkins as a service on the Apache Tomcat server
Prerequisites
Installing Jenkins along with other services on the Apache Tomcat server
Installing Jenkins alone on the Apache Tomcat server
Setting up the Jenkins home path
Method 1 – configuring the context.xml file
Method 2 – creating the JENKINS_HOME environment variable
Why run Jenkins inside a container?
Conclusion
Running Jenkins as a standalone application
Setting up Jenkins on Windows
Installing Jenkins using the native Windows package
Installing Jenkins using the jenkins.war file
Changing the port where Jenkins runs
Setting up Jenkins on Ubuntu
Installing the latest version of Jenkins
Installing the latest stable version of Jenkins
Changing the Jenkins port on Ubuntu
Setting up Jenkins on Fedora
Installing the latest version of Jenkins
Installing the latest stable version of Jenkins
Changing the Jenkins port on Fedora
Sample use cases
Netflix
Yahoo!
Summary
3. Configuring Jenkins
Creating your first Jenkins job
Adding a buil...

Table des matiĂšres