I’m using the sonarqube api to get metrics information like this:
/api/measures/search_history?component=&metrics=new_coverage,new_lines_to_cover&ps=1000
but the response came an array of ‘history’ but only the last one have value information.
how can I return new_coverage?
and if it’s an configuration problem, how can I said to the sonarqube not delete old metrics.
cause I was trying set " Clean directory/package history (sonar.dbcleaner.cleanDirectory)" to false but it doesn’t work as I expect.