Building pipelines in Azure DevOps is really easy, you can migrate your web applications from any where into Azure Cloud by using Azure pipelines.
Watch the steps in YouTube Channel:
Pre-requistes:
- Azure subscription
- Java WebApp setup in GitHub (Sample Java WebApp can be referenced from my GitHub Repo)
- Azure DevOps account
- Create service connection to GitHub in ADO.
- WebApp setup in Azure Cloud. Steps below:
(If you already have a WebApp setup in Azure cloud, move to next step)
You need to create WebApp in Azure Cloud. WebApp is an App service (mostly Platform as a Service) provide by Azure Cloud to migrate any web applications.
Click here to learn how to create WebApp in Azure Portal.
Create Azure Build YAML pipeline in Azure DevOps
Login to Azure DevOps, go to your project dashboard.
Click on Pipelines --> new pipeline
Enter your Microsoft account details for Azure pipelines to authenticate with Azure cloud for deploying WebApp into App service.
Now choose web app name from the drop down
Now Review Azure pipeline code
and make sure path of mom.xml is added properly as MyWebApp/pom.xml
Once you save the file, you can confirm by logging into your GitHub repo.
Now Build must be running. Once build is successful, we need to give permission for deployment into Azure. Click on Review
Wow, this article is awesome wish to see more like this. Thanks for sharing such information. You can check this out too New Driveways Lake District. Thank you.
ReplyDelete