Hello,
We are using sonarcloud to analyze .net core projects with Azure DevOps.
Tasks in the pipeline:
-
task: CmdLine@2
displayName: Dotnet sonarscanner start
inputs:
script: |
echo Dotnet sonarscanner start
dotnet “SonarScanner.MSBuild.dll” begin /k:"" /o:"" /d:sonar.host.url=“https://sonarcloud.io” /d:sonar.login="" -
Task to execute .net core build
-
task: CmdLine@2
displayName: Dotnet sonarscanner end
inputs:
script: |
echo Dotnet sonarscanner end
dotnet “$(Build.SourcesDirectory)\Tools\Sonarqube\SonarScanner.MSBuild.dll” end
Need inputs on how can we implement build breaker feature in our pipeline with the plugin available in marketplace: https://marketplace.visualstudio.com/items?itemName=SimondeLang.sonarcloud-buildbreaker