Book Image

Hands-On Continuous Integration and Delivery

By : Jean-Marcel Belmont
Book Image

Hands-On Continuous Integration and Delivery

By: Jean-Marcel Belmont

Overview of this book

Hands-On Continuous Integration and Delivery starts with the fundamentals of continuous integration (CI) and continuous delivery (CD) and where it fits in the DevOps ecosystem. You will explore the importance of stakeholder collaboration as part of CI/CD. As you make your way through the chapters, you will get to grips with Jenkins UI, and learn to install Jenkins on different platforms, add plugins, and write freestyle scripts. Next, you will gain hands-on experience of developing plugins with Jenkins UI, building the Jenkins 2.0 pipeline, and performing Docker integration. In the concluding chapters, you will install Travis CI and Circle CI and carry out scripting, logging, and debugging, helping you to acquire a broad knowledge of CI/CD with Travis CI and CircleCI. By the end of this book, you will have a detailed understanding of best practices for CI/CD systems and be able to implement them with confidence.
Table of Contents (18 chapters)

Summary

We have gone over many aspects of Travis CI in this chapter, including the differences between Travis CI and Jenkins. We went over some prerequisite actions in order to get Travis CI set up and learned to add an SSH key to your GitHub account. We then explained the Travis CI build job and went over the YAML syntax in detail. We then explored many real-world examples of Travis YML scripts and explained the build life cycle in Travis CI and went over different aspects such as initiating services such as Docker and their uses in Travis CI.

In the next chapter, we will go over all of the Travis CLI commands, explain how to get Travis CLI installed on Linux, macOS, and Windows, and go over automating tasks like encrypting credentials using the Travis CLI commands.