Book Image

Learning Continuous Integration with Jenkins

By : Nikhil Pathania
Book Image

Learning Continuous Integration with Jenkins

By: Nikhil Pathania

Overview of this book

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.
Table of Contents (15 chapters)
Learning Continuous Integration with Jenkins
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Creating a nice visual flow for the Continuous Delivery pipeline


The pipeline to perform Continuous Deployment now contains the following Jenkins jobs:

  • Poll_Build_StaticCodeAnalysis_IntegrationTest_Integration_Branch

  • Upload_Package_To_Artifactory

  • Deploy_Artifact_To_Testing_Server

  • User_Acceptance_Test

  • Performance_Testing

  • Merge_Production_Ready_Code_Into_Master_Branch

  • Deploy_Artifact_To_Production_Server

In this section, we will modify the Continuous Delivery view that we created in the previous chapter using the delivery pipeline plugin. The steps are as follows:

  1. Go to the Jenkins Dashboard and click on the Continuous Delivery tab, as shown in the following screenshot:

  2. You will see the following page. Click on the Edit View link present on the left-hand side menu.

  3. Now, you will see a lot of options that are already filled. Scroll down until you see the View settings section.

  4. Change the value of Name from Continuous Delivery to Continuous Deployment.

  5. Leave the rest of the options at their...