SonarQube Version 9.9.0.65466 Community Edition
Used with AzureDevOps plugin
Followed the steps to create the prepare analysis on SonarQube, Run Code Analysis and Publish Quality Gate Result
The pipeline is failing at Run Code Analysis with the foll. error
##[error][SQ] Could not fetch metrics
##[debug]Processed: ##vso[task.issue type=error;][SQ] Could not fetch metrics
##[error][SQ] API GET ‘/api/metrics/search’ failed, error was: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“99.99.99.99”,“port”:9000}
##[debug]
Also, I would like to get the LOC for my projects so that I could estimate the cost of purchasing a license.
Note: the branch is called “Master”. Is that a problem? Should that be renamed to “Main” to work?
Please help!