Hi, Integration of JaCoCo into SonarQube is not developed by JaCoCo Team, so you'd better ask help from SonarQube community - https://www.sonarqube.org/community/
Thank you for your understanding. On Monday, February 13, 2017 at 7:07:32 PM UTC+1, Harriet Severino wrote: > > I followed these steps to setup: > https://github.com/Accenture/adop-cartridge-java/issues/12 > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FAccenture%2Fadop-cartridge-java%2Fissues%2F12&sa=D&sntz=1&usg=AFQjCNHMWJU5jqhm9-98cw4BT5TABh6nyw> > > Rebuild the app jar file with jacoco activated and rsync'ed to server > > Restarted tomcat using the javaagent: > > -javaagent:/foo/sonarqube/jacoco-0.7.8/lib/jacocoagent.jar=output=tcpserver,jmx=true" > > > I am using the example from > http://www.eclemma.org/jacoco/trunk/coverage/org.jacoco.examples/org.jacoco.examples/MBeanClient.java.html > > to reset and dump the data. > > Run the reset command > Run the regression test > Run the dump command > > I get a file jacoco-client.exec output. It is a bit bigger than the output > file from my unit-test maven run. Therefore, I assume I am correct upto > this point. > > Sync data file (jacoco-client.exec) to sonar-system, using rsync > > sonar-project.properties > # Required metadata > sonar.projectKey=java-sonar-runner-simple > sonar.projectName=FOO Regression Test > sonar.projectVersion=FOO-2.2 > > # Comma-separated paths to directories with sources (required) > sonar.sources=src > > # Language > sonar.language=java > > Run sonar-runner > $ sonar-runner -Dsonar.host.url= > http://dev-devtools-cps01.kendall.corp.akamai.com:9000/sonar > > I get the run in sonarqube, but no coverage data is shown. How do I get > the coverage data into sonarqube, assuming I collected coverage data. > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/2b6ccf7a-c7d5-4258-90ac-f2be9a1948ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
