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 9. Security in Jenkins

Up to now we have seen static code analysis, Continuous Integration, Continuous Delivery/Deployment, Continuous Testing, the orchestration of build jobs using the build pipeline plugin and pipeline as a code, and the management and monitoring of Jenkins resources.

This chapter will cover the security management options available in Jenkins.

It will help to perform user management, authentication, and authorization, including matrix-based security and role-based access. We will cover the following major topics in this chapter:

  • User management
  • Role-based security
  • Project-based security

In this chapter, we will cover continuous security practices as a part of our DevOps journey:

Thread details available on Jenkins Master using Jenkins Monitoring Plugin

At the end of this chapter, we will know how to configure role-based and project-based security in Jenkins, as well as user management.