Skip to content

ArchangelSDY/azure-app-service-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure App Service Plugin

Jenkins Plugin to create an Azure App Service (currently supports only Azure Java WebApps).

Pre-requirements

Register and authorize your client application.

Retrieve and use Client ID and Client Secret to be sent to Azure AD during authentication.

Refer to

How to install the Azure App Service Plugin

  1. Download the azure-app-service.hpi file from here
  2. Within the Jenkins dashboard, click Manage Jenkins.
  3. In the Manage Jenkins page, click Manage Plugins.
  4. Click the Advanced tab.
  5. Click on the Choose file button in the Upload Plugin section and choose the azure-webapp-plugin.hpi file.
  6. Click the Upload button in the Upload Plugin section.
  7. Click either “Install without restart” or “Download now and install after restart”.
  8. Restart Jenkins if necessary.

Configure the plugin

  1. Within the Jenkins dashboard, Select a Job then select Configure
  2. Scroll to the "Add post-build action" drop down.
  3. Select "Azure WebApp Configuration"
  4. Enter the subscription ID, Client ID, Client Secret and the OAuth 2.0 Token Endpoint in the Azure Profile Configuration section.
  5. Enter the Resource Group Name, Location, Hosting Plan Name, Web App Name, Sku Name, Sku Capacity, War File Path in the WebApp Configuration section.
  6. Save Job and click on Build now.
  7. Jenkins will create an Azure WebApp and deploy the War file to the WebApp if it doesn't exist. Otherwise, the War file will be deployed to the existing WebApp.
  8. Logs are available in the builds console logs.

About

Azure WebApp Jenkins plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.4%
  • HTML 3.6%
  • JavaScript 3.0%
  • Python 1.9%
  • PHP 0.1%