Book Image

Learning Continuous Integration with Jenkins - Second Edition

By : Nikhil Pathania
Book Image

Learning Continuous Integration with Jenkins - Second Edition

By: Nikhil Pathania

Overview of this book

In past few years, agile software development has seen tremendous growth. There is a huge demand for software delivery solutions that are fast yet flexible to numerous amendments. As a result, Continuous Integration (CI) and Continuous Delivery (CD) methodologies are gaining popularity. This book starts off by explaining the concepts of CI and its significance in the Agile. Next, you'll learn how to configure and set up Jenkins in many different ways. The book exploits the concept of "pipeline as code" and various other features introduced in the Jenkins 2.x release to their full potential. We also talk in detail about the new Jenkins Blue Ocean interface and the features that help to quickly and easily create a CI pipeline. Then we dive into the various features offered by Jenkins one by one, exploiting them for CI and CD. Jenkins' core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders. Next, you'll be introduced to CD and will learn how to achieve it using Jenkins. Through this book's wealth of best practices and real-world tips, you'll discover how easy it is to implement CI and CD using Jenkins.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

User administration


Let's see what Jenkins has to offer in the area of user administration. From the Jenkins dashboard, click on Manage Jenkins | Configure Global Security to access the Configure Global Security page.

Note

You can also access the Configure Global Security page by using the <Jenkins URL>/configureSecurity/ link.

In the following section, we will stick to the options that are related to user authentication and permissions. We will look at the other security options in the upcoming chapters.

Enabling/disabling global security on Jenkins

Once on the Configure Global Security page, you will see that the Enable security option is already enabled. The Enable security option should always be on; disabling it will make Jenkins accessible to anyone who has the Jenkins URL, with no restrictions of any kind.

Enabling/disabling computers to remember user credentials

When users try to access Jenkins, they are offered an option to be remembered on their respective computers, as shown in...