code coverage - Where does Sonarqube collects data from? -


last day configuring jenkins job run sonar on java project. had sonar , jacoco plugins configured in job. sonar throwing error sysadmin asked me remove jacoco plugin configuration job. removed , sonar saying cannot find cobertura.xml. curious know if sonar analysis on run jacoco or cobertura task or runs own coverage analysis?

short answer : in general, coverage imported sonarqube reading coverage report generated prior work of sonarqube.

longer answer : historically (read, 2 years ago), sonarqube used try run coverage tool java. nightmare maintain every use cases , such developers provide coverage report sonarqube act on data (linking them source, compute metrics, display them nicely).

in case, means have cobertura plugin installed on sq instance , looking report import.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -