![principle app tutorials principle app tutorials](https://uploads.toptal.io/blog/image/122173/toptal-blog-image-1486730750371-3c2f8d8ee05619993b7c8f929b85d8ed.gif)
The app name is part of the default domain name for the web app.Substitute the placeholder with a unique app name.The web app definition provides a URL to access your application with and configures several options to deploy your code to Azure.
![principle app tutorials principle app tutorials](https://laicos.com/wp-content/uploads/2018/04/principle-app-preview.png)
Use az webapp create to create a web app definition in the myAppServicePlan App Service plan. Appservice plans allow you to save cost when hosting multiple apps.All applications assigned to an appservice plan share these resources.The appservice plan defines the physical resources used to host your apps.Use az appservice plan create to create an Azure App Service plan with the FREE pricing tier: az appservice plan create \ ID: Credential identifier (such as AzureServicePrincipal)Ĭreate an Azure App Service for deploying the Java web app.Make sure that the credential kind is Username with password and enter the following items: Select Add Credentials to add a Microsoft Azure service principal. Within the Jenkins dashboard, select Credentials -> System ->. Make sure the Credentials plug-in is installed.
PRINCIPLE APP TUTORIALS HOW TO
The following steps show how to specify your Azure credential: Run the following command to install Maven: sudo apt-get install -y mavenĪdd Azure service principal to a Jenkins credential Sudo apt-add-repository "deb stable main" The following steps show how to install the required Java JDK and Maven on the Jenkins controller:ĭownload and install the Azul Zulu build of OpenJDK for Azure from an apt-get repository: sudo apt-key adv -keyserver hkp://:80 -recv-keys 0xB1998361219BD9C9