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)

Chapter 11: Travis CI UI Logging and Debugging

  1. Yes whenever you merge a pull request in GitHub, Travis CI will automatically kick off another build.
  2. No it doesn't, but you will see labels for the before_install and install lifecycle events as well as some other lifecycle events.
  3. You will need to use Docker to pull down an image and you can find the full list of Docker images here (https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image).
  4. Yes, but you will need to email [email protected] and then request whatever specific repositories you want to have debug mode enabled for. Additionally you will need to make a call to Travis API with the corresponding job id to trigger a build in debug mode.
  5. You will need to make an API call to the Travis API by doing a GET request to the /builds endpoint. Here is a sample request using the curl...