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

Role-based security


In the Authorization section, we can configure matrix-based security so we can configure who can do what. We can configure the predefined roles available in Jenkins.

  1. Select Matrix-based security and type a name in the User/group to add box. Make sure that you give access to Admin before saving it, or the Jenkins account will be locked out:
  1. Type the name of our newly created user in the User/group to add text box, click on Add, and provide all the required rights. We can do the same things for different users.
  2. Click on Save:
  1. To verify access has been granted, open a new incognito window in your browser and log in with the username and password of the newly created user:
  1. Verify that limited access is available to the new user, and that the New Item and Manage Jenkins links are not available:
  1. Now go to Manage Jenkins | Global Security Configuration. Allow Readrights in the Job category for the user Shreyansh.
  2. Click on Save:
  1. Go to the incognito window that we opened before and refresh...