how to use jacoco.exec report

前端 未结 10 1348
感情败类
感情败类 2020-12-07 18:30

I generated a code coverage report from jacoco, which is jacoco.exec. But I don\'t know how to use it ...

The way I generated it is through command line:

10条回答
  •  一生所求
    2020-12-07 19:02

    we can push jacoco exec report (created as part of maven build) to the sonar(qube) server using maven-sonar-plugin's target, sonar:sonar

    mvn clean install sonar:sonar -Dsonar.host.url=http://:9000 -Dsonar.projectKey= -Dsonar.branch= -Dsonar.login= -Dsonar.password=

    sonar.projectKey and sonar.branch properties value can be retrieved from corresponding project created in sonarqube.

提交回复
热议问题