This message was deleted.
# community-support
s
This message was deleted.
j
This is what I had to get it going. I had a different issue with it complaining about a "duplicate class" but maybe this helps you. This is right out of their docs.
Mine includes the test report aggregation which does work for me
The above is in its own sub project called "test-results" as well.
n
j
Yah I used that as well. I only tried on the rc-2 however in case that changes anything.
n
ok I don’t get a build error but every time I run the task I get
Task :aggregateCodeCoverageReport SKIPPED
j
--info might help
or a build scan
v
What are you really try to do actually? Because you say "how to do aggregated JaCoCo report", then you show how you try to register a report for aggregated test report (which is also the cause the error complains that the report type is not known), and then you complain that the JaCoCo report task is skipped.
n
I am trying to create an aggregated Jacoco coverage report which can then be consumed by sonarqube and jenkins. Similarly I would liket o create an aggregated test report which can also be consumed by Jenkins.
It seems the aggregated test report can only be html (not xml).
v
I am trying to create an aggregated Jacoco coverage report
Why I asked is because you apply the plugin for jacoco aggregation and then try to register a test aggregation task which is why it does not work.
which can then be consumed by sonarqube and jenkins.
Afair those reports are HTML report, so not for consumption in SQ or Jenkins. I didn't use those plugins yet, but from a quick look, I'd guess the
jacocoAggregation
configuration will contain the XML files that you then configure SQ and Jenkins to process. Both tools should be able to process multiple report files, otherwise you need a
JacocoMerge
task that merges them. But that task type is deprecated as virtually any tool accepting JaCoCo reports support processing mutliple files.
Similarly I would liket o create an aggregated test report which can also be consumed by Jenkins.
It seems the aggregated test report can only be html (not xml).
Same as above.
n
Thank you!