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)

CircleCI CLI Commands and Automation

In the previous chapter, we covered how to get set up using CircleCI in Bitbucket and in GitHub and showed you how to navigate the Bitbucket UI and covered the basics of the CircleCI Web UI. In this chapter, we will cover how to install CircleCI CLI on macOS/Linux and show you how to get a nightly build from the CLI. We will go over each CircleCI CLI command in detail and explain how the workflows in CircleCI work. We'll show you how to get a more complicated workflow with a sequential jobs setup. We will finish by covering the CircleCI API and show you how to use the jq JSON command utility to transform JSON when using HTTP requests.

In this chapter, we will cover the following topics:

  • CircleCI CLI installation
  • CircleCI CLI commands
  • Using workflows in CircleCI
  • Working with the CircleCI API
...