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

Promoted builds


The Promoted builds plugin allows us to tag the builds based on specific stages. This promotion can be manual or automated. We can identify promoted builds based on the star available on the project dashboard or the star available in Build History.

  1. Go to Manage Jenkins and click on Manage Plugins.
  2. Select promoted builds plugin and click on Install without restart:
  1. Go to the PetClinic-FuncTest build and open its configuration.
  2. In the General section, click on Promote builds when...
  1. Provide a name and select a star you want to associate build if the criteria is passed in the icon list box in the promotion process section.
  2. Select Promote immediately when build is complete, as shown in following screenshot:
  1. We can also select Only when manually approved and then we can give the Email ID of the approver.
  2. Click on Build Now and observe the Jenkins dashboard. Look out for the green star in Build History when the build is executed successfully:

The promoted builds feature can be utilized...