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)

Job log overview

The job log in CircleCI is different than in Travis CI, as each step in each job is run in a separate non-login shell and CircleCI sets some smart defaults for each step in the job.

Run steps in job with a default build job

We will create a new repository to demonstrate multiple jobs in the default build job. The repository will be called circleci-jobs-example (https://github.com/packtci/circleci-jobs-example) and will have multiple run declarations in the build job. We will be using Node.js as our programming language of choice for demonstration purposes. Remember that we need to add the new project to CircleCI so that it can become aware of our project. In the previous chapters, we added the projects using...