Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cant deploy .netcore project to azure webapp through Bitbucket release pipeline pls help

Here is my .yml file

# Template .NET Core build

# This template allows you to validate your .NET Core package.
# The workflow allows running tests and code linting on the default branch.

image: mcr.microsoft.com/dotnet/core/sdk:3.1
pipelines:

default:
- parallel:
- step:
name: Build and Test
caches:
- dotnetcore
script:
- REPORTS_PATH=./test-reports/build_${BITBUCKET_BUILD_NUMBER}
- dotnet restore
- dotnet build --no-restore --configuration Release
- dotnet test --no-build --configuration Release --test-adapter-path:. --logger:"junit;LogFilePath=$REPORTS_PATH/junit.xml"
- step:
name: Lint the code
deployment: TEST
caches:
- dotnetcore
script:
- export SOLUTION_NAME=TestBitbucket
- export REPORTS_PATH=linter-reports
- dotnet new tool-manifest
- pipe: atlassian/azure-web-apps-deploy:1.0.1
variables:
AZURE_APP_ID: '368eedc8-dbd1-4b70-9f31-6652c3be38e3'
AZURE_PASSWORD: '9Sew_ewLWl39v4cQRG5Ijrp8Nix_0b5.O4'
AZURE_TENANT_ID: '87f0db61-c599-42d5-8aca-6f1b14dc594e'
AZURE_RESOURCE_GROUP: 'BitbucketApp'
AZURE_APP_NAME: 'Bitbucketwapp'
ZIP_FILE: 'TestBitbucket.7z'
artifacts:
- linter-reports/**1.PNG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

157 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you