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 2: Basics of Continuous Integration

  1. A Software Build can consist of just compiling software components. A build can consist of compiling and running automated tests, but in general the more processes you add to the build the slower the feedback loop becomes on a build.
  2. A staged build is a build that is broken down into a smaller build. For example in the first build you can do your compilation step and run all the unit tests. A secondary build can be used to run longer running tests such as end to end tests.
  3. Make is a widely used scripting tool that can be used for many different types of programming languages. Maven is a scripting tool used by the Java community.
  4. It is better to follow a naming convention because it helps organize a code base better and helps developers quickly understand what is going on a source file. Following a particular folder structure can help...