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

Deploying a war file from Jenkins to Microsoft Azure App Services


Microsoft Azure App Services is a PaaS. In this section, we will look at the Azure Web App and how we can deploy our PetClinic application:

  1. We need to have a Microsoft Azure subscription. Go to App Services and click on Add:
  1. Click on Create:
  1. Go to the Microsoft Azure portal at https://portal.azure.com. Click on App Servicesand then on Add. Provide values for App name, Subscription, Resource Group, and App Service Plan/Location. Click on Create:
  1. Once the Azure Web App is created, see whether it shows up in the Azure portal. Click on DevOpsPetClinic for details related to the URL, Status, Location, and so on:
  1. Verify you can see this in the App Services section too:
  1. Click on All Settings, go to the GENERAL section, and click on Application settings to configure the Azure Web App for Java web application hosting. Select the Java version, Java Minor version, Web container, and Platform, and then click on Always On:
  1. Visit the URL of an...