We want to be using aggregate execution profile, but those reports
are currently broken, as sonar just picks up individual execution
reports.
Make sure sonar reporting also runs jacoco:report with the aggregate
file, so Sonar ends up with aggregate execution reports.
Change-Id: Iec0a0703608e0f4879425a27e5a66a6d244f731e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
- gerrit-maven-sonar:
mvn-params: >
-Dodl.jacoco.aggregateFile=$WORKSPACE/target/jacoco.exec
- -Dsonar.jacoco.reportPath=$WORKSPACE/target/jacoco.exec
-Dskip.karaf.featureTest=true
+ sonar-mvn-goal: >
+ jacoco:report -Djacoco.dataFile=$WORKSPACE/target/jacoco.exec
+ sonar:sonar
project: "yangtools"
project-name: "yangtools"