Book Image

Learning Continuous Integration with Jenkins - Second Edition

By : Nikhil Pathania
Book Image

Learning Continuous Integration with Jenkins - Second Edition

By: Nikhil Pathania

Overview of this book

In past few years, agile software development has seen tremendous growth. There is a huge demand for software delivery solutions that are fast yet flexible to numerous amendments. As a result, Continuous Integration (CI) and Continuous Delivery (CD) methodologies are gaining popularity. This book starts off by explaining the concepts of CI and its significance in the Agile. Next, you'll learn how to configure and set up Jenkins in many different ways. The book exploits the concept of "pipeline as code" and various other features introduced in the Jenkins 2.x release to their full potential. We also talk in detail about the new Jenkins Blue Ocean interface and the features that help to quickly and easily create a CI pipeline. Then we dive into the various features offered by Jenkins one by one, exploiting them for CI and CD. Jenkins' core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders. Next, you'll be introduced to CD and will learn how 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 CI and CD using Jenkins.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Installing Git on Windows/Linux 


The steps mentioned in the following sections are required to install Git on Windows and Linux:

Installing Git on Windows

To install Git on Windows, follow these steps:

  1. You can download Git from https://git-scm.com/downloads
  1. Click on the downloaded executable and proceed with the installation steps.
  2. Accept the license agreement and click on Next.

 

  1. Select all the components and click on Next, as shown in the following screenshot:
  1. Choose the default editor used by Git, and click on Next
  2. Adjust your path environment by selecting the appropriate environment and click on Next, as shown in the following screenshot:
  1. Choose Use OpenSSH as the SSH executable and click on Next:
  1. Select Use the OenSSL library as the HTTPS transport backend and click on Next:
  1. Choose the line ending conversion that suits you the best and click on Next.
  2. Choose the terminal emulator and click on Next
  3. Select the Enable file system caching and Enable Git Credentials Manager options, as shown in...