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)

Travis CI UI Logging and Debugging

This chapter will give an overview of the Travis job log and the various sections in the job log. This chapter will also explain how to debug a Travis build job in a couple of different ways, including building locally using Docker and then running a build in debug mode. We will go over all the different ways to get a job ID and how to enable debug mode in public repositories and then use the Travis API to start a build in debug mode. We will explain how to use tmate, which is a terminal multiplexor, and then we will talk about logging environment variables in the Travis Web Client. Finally, we will cover how to do deployments in Travis CI using Heroku and how to debug deployment failures.

The following topics will be covered in this chapter:

  • Travis web client overview
  • Debug build locally with Docker
  • Running build in debug mode
  • Travis Web UI...