Azure App service deployment [WAR package]

Boopathy, Elango 106 Reputation points
2020-05-26T07:27:29.103+00:00

Hi

I have a Web application (WAR distribution) which has been deployed into Tomcat server. Now we're migrating the web application to Azure using App service.
We have chosen an option of Java 8 and Tomcat 8.5 as platform. Subsequently we have selected the source from Github and Github action for deploying source code.

Unfortunately we are getting error in Github actions under portal. It says No package found with specified pattern.
is it only jar supported ?

Attached for your more reference.

8732-capture.jpg

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,915 questions
{count} votes

Accepted answer
  1. Manu Philip 16,986 Reputation points MVP
    2020-05-26T07:35:12.663+00:00

    Hello @Boopathy, Elango ,

    I think, you need to check 'azure-pipelines.yml' file and edit it. Add one more task at the very end as :

    • task: PublishBuildArtifacts@1

    https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-build-artifacts?view=azure-devops

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu


0 additional answers

Sort by: Most helpful