The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment Issue to Azure app service - Zip deployment failed

Carlos Torres
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events