ronaldbosma / azure-pipelines-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

azure-pipelines-examples

Know issues

SonarQube Prepare fails with error: It was not possible to find any compatible framework version.

You might get the following error if .NET Core SDK 2.x is not available on the server.

##[error]It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
It was not possible to find any compatible framework version

The SonarQube scanner is build against .NET Core 2.1: SonarSource/sonar-scanner-msbuild#797. You need to install it manually or use the UseDotNet task.

SonarQube Prepare fails with error: The token you provided doesn't have sufficient rights to check license.

You can sometimes get the following error if you're using an older SonarQube service connection, even if the token has sufficient rights.

##[error] The token you provided doesn't have sufficient rights to check license.

You can fix this issue by creating a new SonarQube service connection. See https://community.sonarsource.com/t/the-token-you-provided-doesnt-have-sufficient-rights-to-check-license/38057.

SonarQube Prepare fails with error: To use the property "sonar.branch.name" and analyze branches...

If you're using the Community Edition of SonarQube you might get the following error because you're missing branch support.

ERROR: Validation of project failed:
  o To use the property "sonar.branch.name" and analyze branches, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
ERROR:
ERROR: Error during SonarScanner execution
ERROR: Validation of project failed:
  o To use the property "sonar.branch.name" and analyze branches, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
ERROR: 

If your default branch differs from master you might have to rename it or upgrade the SonarQube edition.

About

License:MIT License


Languages

Language:C# 65.5%Language:HTML 23.7%Language:CSS 8.5%Language:JavaScript 1.4%Language:Gherkin 0.9%