Skip Navigation

Java CI/CD using Jenkins and Azure Web Apps

Azure App Service is a fast and simple way to create web apps using Java, Node, PHP or ASP.NET, as well as support for custom language runtimes using Docker. A continuous integration and continuous deployment (CI/CD) pipeline that pushes each of your changes automatically to Azure app services allows you to deliver value faster to your customers.

Jenkins Azure ContainerInstances AzureFiles Azure WebApps Azure Databasefor MySQL GitHub IntelliJ Engineer ApplicationInsights 1 8 2 3 4 5 6 7 7

Change application source code

Commit code to GitHub

Continuous Integration Trigger to Jenkins

Jenkins triggers a build job using Azure Container Instances for a dynamic build agent

Jenkins builds and stores artifact in Azure Storage

Jenkins deploys Java application to Azure Web Apps backed by Azure Database for MySQL

Azure App Insights provides metrics on application performance

Monitor application and make improvements

  1. 1 Change application source code
  2. 2 Commit code to GitHub
  3. 3 Continuous Integration Trigger to Jenkins
  4. 4 Jenkins triggers a build job using Azure Container Instances for a dynamic build agent
  1. 5 Jenkins builds and stores artifact in Azure Storage
  2. 6 Jenkins deploys Java application to Azure Web Apps backed by Azure Database for MySQL
  3. 7 Azure App Insights provides metrics on application performance
  4. 8 Monitor application and make improvements

Implementation guidance

Related solution architectures

Visual StudioTeam Services Git Visual StudioTeam Services CI Visual StudioTeam Services Backlog Visual StudioTeam Services CD AzureVirtual Machines Azure DevTestLabs AzureVirtual Machines 3 2 1 4 6 5 8 8 8 9 7 AzureApplication Insights Visual Studio Engineer 10

CI/CD for Azure VMs

Azure is a world-class cloud for hosting virtual machines running Windows or Linux. Whether you use ASP.NET, Java, Node.js, or PHP to develop applications, you’ll need a continuous integration and continuous deployment (CI/CD) pipeline to push changes to these virtual machines automatically.

Visual StudioTeam Services Git Visual StudioTeam Services CI Visual StudioTeam Services CD Azure Container Service(Managed Kubernetes) Azure ContainerRegistry 3 5 4 7 6 Engineer Visual Studio Azure ApplicationInsights 1 9 8 Visual StudioTeam Services Backlog 2 10

CI/CD for Containers

Containers make it very easy for you to continuously build and deploy your applications. By orchestrating deployment of those containers using Kubernetes in Azure Container Service, you can achieve replicable, manageable clusters of containers.