SonarQube error during build

build 16-Dec-2019 13:29:12 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project NN-JRD-WORK: You are not using the latest JaCoCo binary format version, please consider upgrading to latest JaCoCo version. -> [Help 1]
build 16-Dec-2019 13:29:12 [ERROR]
build 16-Dec-2019 13:29:12 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 16-Dec-2019 13:29:12 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 16-Dec-2019 13:29:12 [ERROR]
build 16-Dec-2019 13:29:12 [ERROR] For more information about the errors and possible solutions, please read the following articles:
build 16-Dec-2019 13:29:12 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
simple 16-Dec-2019 13:29:12 Failing task since return code of [/opt/maven-3.6/bin/mvn sonar:sonar -Dsonar.branch=bugfix_WCCR-1803-SonarQube-Bugfix -Dsonar.host.url=https://forge.peng.com/sonar -Dsonar.login=****** -Dsonar.report.export.path=.] was 1 while expected 0
simple 16-Dec-2019 13:29:12 SONAR4BAMBOO: was not able to find a SonarQube result URL
simple 16-Dec-2019 13:29:12 Finished task ‘Sonar Maven 3’ with result: Error

Exactly like the log said…Upgrade your JaCoCo to the latest version…

1 Like