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] $ 
 -X -e 
 ******** ******** ******** 
 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(*11:26:32*    at*11:26:32*
    at$*11:26:32*     at$*11:26:32*     at Method)*11:26:32*         at*11:26:32*         at 
java.lang.ClassLoader.loadClass(*11:26:32*      at 
sun.misc.Launcher$AppClassLoader.loadClass(*11:26:32*      at 
java.lang.ClassLoader.loadClass(*11:26:32*      at 
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 view this discussion on the web visit
For more options, visit

Reply via email to