Book Image

Jenkins Essentials - Second Edition

By : Mitesh Soni
Book Image

Jenkins Essentials - Second Edition

By: Mitesh Soni

Overview of this book

<p>In agile development practices, developers need to integrate their work frequently to fix bugs or to create a new feature or functionality. Jenkins is used specifically for Continuous Integration, helping to enforce the principles of agile development. This book focuses on the latest and stable release of Jenkins (2.5 and later), featuring the latest features, such as Pipeline as Code, the new setup experience, and the improved UI. With the all-new Pipeline as Code feature, you will be able to build simple or advanced pipelines easily and rapidly, hence improving your teams' productivity.</p> <p>This book begins by tackling the installation of the necessary software dependencies and libraries you'll need to perform Continuous Integration for a Java application. From there, you'll integrate code repositories, applications, and build tools for the implementation of Continuous Integration.</p> <p>Finally, you will also learn how to automate your deployment on cloud platforms such as AWS and Microsoft Azure, along with a few advanced testing techniques.</p>
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Chapter 3. Managing Code Quality and Notifications

So far we have seen how to set up an environment to use Jenkins for Continuous Integration and we have also configured build tools in Jenkins. Integration of Eclipse with Jenkins was also covered and that will help developers to easily execute Jenkins jobs from the IDE.

We will start our journey with Continuous Code Quality--static code analysis-- and it will be followed by Continuous Integration, Continuous Delivery, Continuous Testing, Continuous Deployment, Continuous Monitoring, and Continuous Security. For static code analysis, we will use SonarQube to analyze a spring-based Java project.

SonarQube is an open source quality management platform for maintaining Continuous Code Quality.

In this chapter, we will cover the following topics:

  • Jenkins 2.x integration with Sonar 6.3
  • Quality Gate plugin
  • Email notifications on build status

In this chapter, we will cover static code analysis as part of Continuous Integration practice as a part of our...