Greetings,

I'm having trouble getting the SonarCube plugin to work, and I'm rather new 
to Jenkins.  The error from the build job is:

*11:26:32* [workspace] $ 
/var/lib/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqube-scanner-2.8/bin/sonar-runner
 -X -e 
-Dsonar.jdbc.url=jdbc:mysql://10.120.8.27:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8
 ******** -Dsonar.host.url=http://10.120.8.27:9000/sonar/ ******** ******** 
-Dsonar.projectBaseDir=/var/lib/jenkins/jobs/set-rel-ver-myapp-access_controller/workspace*11:26:32*
 WARN: sonar-runner script is deprecated. Please use sonar-scanner 
instead.*11:26:32* Exception in thread "main" 
java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/cli/Main : 
Unsupported major.minor version 52.0*11:26:32*      at 
java.lang.ClassLoader.defineClass1(Native Method)*11:26:32*  at 
java.lang.ClassLoader.defineClass(ClassLoader.java:800)*11:26:32*    at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)*11:26:32*
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)*11:26:32*   
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)*11:26:32*     
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)*11:26:32*     at 
java.net.URLClassLoader$1.run(URLClassLoader.java:355)*11:26:32*     at 
java.security.AccessController.doPrivileged(Native Method)*11:26:32*         at 
java.net.URLClassLoader.findClass(URLClassLoader.java:354)*11:26:32*         at 
java.lang.ClassLoader.loadClass(ClassLoader.java:425)*11:26:32*      at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)*11:26:32*      at 
java.lang.ClassLoader.loadClass(ClassLoader.java:358)*11:26:32*      at 
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)*11:26:32* 
Build step 'Execute SonarQube Scanner' marked build as failure*11:26:32* 
Started calculate disk usage of build



Why is the plugin running the deprecated sonar-runner and what does the 
exception mean?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ccb541dc-6a69-489e-9d18-c625e9ea7a35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to