Summary
In this chapter, we navigated the practical aspects of writing CI code — from configuring pipeline agents, running unit tests, static code analyses, and ensuring code quality with SonarQube, to the nuances of building code and publishing artifacts. The role of Kubernetes in the CI process was also highlighted. A significant milestone in our journey was actualizing the CI process. By adding the pipeline code to our source code repository, we were primed to witness CI in action. This culminated in creating a multi-branch pipeline job in Jenkins, offering an insightful look into the mechanics of CI in real time.
Lastly, the visualization aspects enriched our understanding manifold. Using Jenkins’ interface, we learned how to visually interpret unit test results, static code analysis reports, code coverage data, and the meticulous details of build artifacts. In essence, this chapter provided the practical know-how of implementing and visualizing a simple CI pipeline...