I’m using SonarSource 4.8.0 in Azure Devops an a C# project.
When using a fresh key, publishing the results works without an issue, but on every subsequent build, publishing fails near the end with following error:
##[error][SQ] Task failed with status FAILED, Error message: Quality Gate: Unable to parse value '' to compare against Security Rating on New Code (Visit of Component {key=mykey,uuid=theid,type=PROJECT} failed)
SonarQube Version: 7.9.1.27448
The error just started a few weeks ago, I believe it’s related to an update of SQ (not managed by myself)
Is it possible to have the ce.log file corresponding to the timeframe when the error happens please ? It appears that it’s more like an analysis issue rather than a problem with the extension.
After some PM with Mickaël, he found the issue and I want to share it as it may help someone else:
After updating SonarQube to the latest version, an existing custom quality gate lost it’s value and was causing that issue. After setting a value there again, everything works again now.