Learning Continuous Integration with Jenkins
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

Condividi libro
  1. 542 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Learning Continuous Integration with Jenkins è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Learning Continuous Integration with Jenkins di Nikhil Pathania in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Software Development. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2016
ISBN
9781785284830
Edizione
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...

Indice dei contenuti