RCPTT test result should be integrate with sonar [message #1735827] |
Thu, 23 June 2016 05:51 |
karthik krishnamoorthy Messages: 17 Registered: May 2016 |
Junior Member |
|
|
Hello All,
I have problem in viewing the test result of rcptt in sonar.
I can view the jacoco-it.exec in the below
maven version 3.3.1
sonarqube version 5.1
Am i need to put any RCPTT plugin in sonarqube inorder to view the testreport and other stuff
This the parent pom
in property
<sonar.jacoco.itReportPath>D:/testreport/jacoco-it.exec</sonar.jacoco.itReportPath>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.2.201409121644</version>
<executions>
<execution>
<id>agent-for-it</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
</execution>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<!-- location for the generated jacoco coverage report -->
<destFile>${sonar.jacoco.reportPath}</destFile>
<append>true</append>
</configuration>
</execution>
<execution>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
rcptt pom
<vmArg>-javaagent:D:/kk/Sonar/jacoco-0.7.6.201602180812/lib/jacocoagent.jar=destfile=D:/testreport/jacoco-it.exec</vmArg>
[Updated on: Thu, 23 June 2016 06:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02651 seconds