error: error during sonarqube scanner execution
org.sonarsource.scanner.api.internal.scannerexception: unable to execute sonarqube
at org.sonarsource.scanner.api.internal.isolatedlauncherfactory$1.run(isolatedlauncherfactory.java:84)
at org.sonarsource.scanner.api.internal.isolatedlauncherfactory$1.run(isolatedlauncherfactory.java:71)
at java.security.accesscontroller.doprivileged(native method)
at org.sonarsource.scanner.api.internal.isolatedlauncherfactory.createlauncher(isolatedlauncherfactory.java:71)
at org.sonarsource.scanner.api.internal.isolatedlauncherfactory.createlauncher(isolatedlauncherfactory.java:67)
at org.sonarsource.scanner.api.embeddedscanner.dostart(embeddedscanner.java:218)
at org.sonarsource.scanner.api.embeddedscanner.start(embeddedscanner.java:156)
at org.sonarsource.scanner.cli.main.execute(main.java:74)
at org.sonarsource.scanner.cli.main.main(main.java:61)
...省略
sonar.java.binaries
comma-separated paths to directories containing the compiled bytecode files corresponding to your source files.
since 4.12, analysis will fail with the message :
please provide compiled classes of your project with sonar.java.binaries property
确认版本
确认了sonarqube7的此plugin的版本信息为5.01
/opt/sonarqube/extensions/plugins # ls -lrt
total 36048
-rw-r--r-- 1 sonarqub sonarqub 7368250 jan 29 09:21 sonar-xml-plugin-1.4.3.1027.jar
-rw-r--r-- 1 sonarqub sonarqub 6680471 jan 29 09:21 sonar-scm-svn-plugin-1.6.0.860.jar
-rw-r--r-- 1 sonarqub sonarqub 3625962 jan 29 09:21 sonar-scm-git-plugin-1.3.0.869.jar
-rw-r--r-- 1 sonarqub sonarqub 3373769 jan 29 09:21 sonar-javascript-plugin-4.0.0.5862.jar
-rw-r--r-- 1 sonarqub sonarqub 1618672 jan 29 09:21 sonar-flex-plugin-2.3.jar
-rw-r--r-- 1 sonarqub sonarqub 1460815 jan 29 09:21 sonar-csharp-plugin-6.7.1.4347.jar
-rw-r--r-- 1 sonarqub sonarqub 1663416 feb 2 08:52 sonar-typescript-plugin-1.5.0.2122.jar
-rw-r--r-- 1 sonarqub sonarqub 1509434 feb 2 08:52 sonar-python-plugin-1.9.0.2010.jar
-rw-r--r-- 1 sonarqub sonarqub 2774137 feb 2 08:52 sonar-php-plugin-2.12.1.3018.jar
-rw-r--r-- 1 sonarqub sonarqub 6813805 feb 2 08:52 sonar-java-plugin-5.1.0.13090.jar
-rw-r--r-- 1 sonarqub sonarqub 92 feb 2 12:23 readme.txt
/opt/sonarqube/extensions/plugins #