The coverage reported has dropped to zero because of the aggregation failure, since NXBT-1486
+ mvn clean verify sonar:sonar -Dsonar.login=**** -Paddons,distrib,qa,sonar -Dsonar.branch.name=master [INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (prepare-agent) @ nuxeo-jsf-ui-webdriver-tests --- [INFO] it.failsafe.argLine set to (...) destfile=/opt/jenkins/workspace/master/nuxeo-master-sonar/target/jacoco-it.dump [INFO] Building Nuxeo ECM Projects 10.2-SNAPSHOT [INFO] --- sonar-maven-plugin:3.4.0.905:sonar (default-cli) @ nuxeo-ecm --- [INFO] User cache: /opt/jenkins/.sonar/cache [INFO] SonarQube version: 7.1.0 [INFO] JaCoCo report not found: '${session.executionRootDirectory}/target/jacoco-it.dump'
the session.executionRootDirectory property is not interpolated by the sonar-maven-plugin.
https://stackoverflow.com/questions/36597838/session-executionrootdirectory-is-not-recognized-by-sonar-maven-plugin
https://jira.sonarsource.com/browse/SONAR-3427
This can be circumvented on execution by providing a hardcoded path. from the environment.
Another solution may be to use directory-maven-plugin.
- is related to
-
NXBT-1486 Setup a new sonar instance
- Resolved