After adding code in bitbucket yaml. I am not able to build that code
Hi @Krishnai Shrikant Jirange
Welcome to the community!
Can you add logs or the yaml file for the community members to help you out?
Cheers
Ajay
---image: "mcr.microsoft.com/dotnet/core/sdk:3.1"pipelines:branches:Masterbranch:-step:script:-pipe: "sonarsource/sonarqube-scan:1.0.0"variables:SONAR_HOST_URL: ""SONAR_TOKEN: -step:artifacts:- publish/Core_HelloWorld.zipcaches:- dotnetcorename: Packagescript:- "apt-get update"- "apt-get install zip -y"- "dotnet build"- "dotnet publish ./Core_HelloWorld/Core_HelloWorld.csproj -c Release -o ./publish"- "cd ./publish"- "zip -r Core_HelloWorld.zip ."-step:deployment: testname: "Deploy to test"script:-pipe: "microsoft/azure-web-apps-deploy:1.0.3"variables:AZURE_APP_ID: AZURE_APP_NAME: BBWEBAPP-devAZURE_PASSWORD: AZURE_RESOURCE_GROUP: BBPOC-devAZURE_SUBSCRIPTION_ID: AZURE_TENANT_ID: ZIP_FILE: publish/Core_HelloWorld.ziptrigger: manualdefault:-step:caches:- dotnetcorename: "Build and Test"script:- "dotnet restore"- "dotnet build"- "dotnet test"
In Above code only azure values are not visible here but I have used in my original file.
It looks like you're new here. Sign in or register to get started.