Coverage Report Fluctuations


(Lazerion) #1

We have successful Jenkins build when reporting to SonarCloud with similar logs as given below:

04:12:43 [INFO] ANALYSIS SUCCESSFUL, you can browse https://sonarcloud.io/dashboard?id=hz-master%3Amaster 04:12:43 [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
04:12:43 [INFO] More about the report processing at https://sonarcloud.io/api/ce/task?id=AWXlFjMduZvIo9En14r 

Our test result trend on Jenkins are also intact and there are no fluctuations on them, however on sonarcloud we see drastical coverage report drops. As can be seen in this task

https://sonarcloud.io/project/activity?graph=coverage&id=hz-master%3Amaster 

Could you please guide us?
Also, it is my first post, therefore, if I am missing any context please let me know.
TIA.


(Fabrice Bellingard) #2

The activity page of your project shows a strange behaviour: from time to time, looks like the coverage data is fully provided, and sometime not. It would probably help to look at the analysis logs (on Jenkins side) to see if you get any warning during the coverage sensor phase.