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

Managing job-specific configurations - backup and restore


Let's install all the important plugins required for the following sections at once:

The Backup plugin allows us to take a backup of JENKINS_HOME and restore it.

  1. Go to Manage Jenkins and click on Backup Manager:
  1. Click on Setup:
  1. Configure Backup directory, Format, File name template, and so on:
  1. Click on Backup Hudson configuration:
  1. Once the backup has been completed successfully, verify the logs:
  1. Go to Backup Manager and click on Restore Hudson configuration:

In the next section, we will see the disk usage plugin.