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

Pipelines for asp.net core 2.2 doesn't work (zip missing)

Abir Stolov April 23, 2020

This is the bitbucket-pipelines.yml I've tried:

image: mcr.microsoft.com/dotnet/core/sdk:3.1
pipelines: default: - step: caches: - dotnetcore script: # Modify the commands below to build your repository. - export PROJECT_NAME=SystemAPI.sln - dotnet restore - dotnet build $PROJECT_NAME - pipe: microsoft/azure-web-apps-deploy:1.0.3 variables: AZURE_APP_ID: $AZURE_APP_ID AZURE_PASSWORD: $AZURE_PASSWORD AZURE_TENANT_ID: $AZURE_TENANT_ID AZURE_RESOURCE_GROUP: 'my-rg' AZURE_APP_NAME: 'my-app-name' ZIP_FILE: 'app.zip'

What I am missing is the zip file, it is not created

This is the error:


az webapp deployment source config-zip --resource-group Default-Web-EastUS --name vaica-system --src app.zipERROR: [Errno 2] No such file or directory: '/opt/atlassian/pipelines/agent/build/app.zip'

where should it be specified and how? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events