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.zip
ERROR: [Errno 2] No such file or directory: '/opt/atlassian/pipelines/agent/build/app.zip'
where should it be specified and how?