Deploying a WAR file from Jenkins to Azure App Services
Microsoft Azure App is a PaaS. In this section, we will look at the Azure web app and how we can deploy our PetClinic application.
Getting ready
We need to have a Microsoft Azure subscription. Go to App Services
and click + Add
:

Then, on Create
:

Go to the Microsoft Azure portal at https://portal.azure.com. Click on App Services
and then on + Add
. Provide values for App name
, Subscription
, Resource Group
, and App Service plan/Location
. Then, on Create
:

Once the Azure Web App is created, see it shows up in the Azure portal. Click on DevOpsPetClinic
and its details related to the URL
, Status
, Location
, and so on:

Verify on the App Services
section too:

Click on All Settings
, go to the SETTINGS
section, and click on Application settings
to configure the Azure Web App for Java web hosting. Select the Java version
, Java Minor version
, Web container
, and Platform
, and click on Always On
:

Visit the URL of an Azure Web App from your browser and...