Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deployment Issue to Azure app service - Zip deployment failed

Carlos Torres August 30, 2021

Well, I'm new working on Pipelines and Azure. When I deployed the project directly from Visual Studio 2019 to my Azure App Service all look ok, but not with the pipeline. 

This is what I have : 

pipeline.png

 

When I executed the pipeline, all looks ok. Built the project, and created the zip file and add the artifact.

pipeline2.png

During deployment, I got this error :

INFO: Starting deployment to Azure app service...
az webapp deployment source config-zip --resource-group $AZURE_RESOURCE_GROUP --name $AZURE_APP_NAME --src app-107.zip
ERROR: Zip deployment failed.

 

pipeline3.png

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 1, 2021

Hi @Carlos Torres,

I see that you're using the microsoft/azure-web-apps-deploy pipe. Checking the repo for this pipe here, I can see that it is not supported:

Support

This sample is provided "as is" and is not supported. Likewise, no commitments are made as to its longevity or maintenance. To discuss this sample with other users, please visit the Azure DevOps Services section of the Microsoft Developer Community: https://developercommunity.visualstudio.com/spaces/21/index.html.

A few suggestions I can make:

(1) You can try using the latest version of this pipe, 1.0.4, instead of 1.0.3

(2) You can also try using the atlassian/azure-web-apps-deploy pipe instead, which was forked from https://bitbucket.org/microsoft/azure-web-apps-deploy for future maintenance purposes

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events