Hello Team,
I was able to build the system. But no data on cloud for this specific project, I don’t see any analysis. Could you please assist me on this.
Below is the bitbucket.yml file
image: GitHub - microsoft/containerregistry: Microsoft Container Registry description and related FAQ
clone:
depth: full # SonarCloud scanner needs the full history to assign issues properly
pipelines:
branches:
‘{master}’:
- step:
name: SonarQube analysis
caches:
- dotnetcore
- sonar
script:
- apt-get update
- apt-get install --yes openjdk-11-jre
- dotnet tool install --global dotnet-sonarscanner
- export PATH="$PATH:/root/.dotnet/tools"
- pipe: sonarsource/sonarcloud-scan:1.2.1
- pipe: sonarsource/sonarcloud-quality-gate:0.1.4
pull-requests:
‘**’:
- step:
name: SonarQube analysis
caches:
- dotnetcore
- sonar
script:
- apt-get update
- apt-get install --yes openjdk-11-jre
- dotnet tool install --global dotnet-sonarscanner
- export PATH="$PATH:/root/.dotnet/tools"
- pipe: sonarsource/sonarcloud-scan:1.2.1
- pipe: sonarsource/sonarcloud-quality-gate:0.1.4
definitions:
caches:
sonar: ~/.sonar