14 Jenkins administration and best practices

This chapter covers

  • Sharing common code and steps across CI/CD pipelines
  • Granting job permissions for a user
  • Using GitHub for authentication information to secure a Jenkins instance
  • Backing up and restoring Jenkins plugins and jobs
  • Using Jenkins as a scheduler for cron jobs
  • Migrating build jobs to a new Jenkins instance

Chapter 13 covered how to monitor a Jenkins cluster, and how to configure alerts and correlate Jenkins logs and metrics to identify issues and avoid downtime. In this chapter, you will learn how to enforce security on Jenkins by setting up granular access with role-based access control (RBAC) for logged-in users and how to add an extra security layer by using the GitHub authentication ...

Get Pipeline as Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.