Learning Continuous Integration with Jenkins
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

Buch teilen
  1. 542 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Learning Continuous Integration with Jenkins

Nikhil Pathania

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

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

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Learning Continuous Integration with Jenkins als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Learning Continuous Integration with Jenkins von Nikhil Pathania im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Software Development. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2016
ISBN
9781785284830

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...

Inhaltsverzeichnis