The target program is made with Java version 8 and the pipeline configuration is as follows.
・Select a source is “TFVC”.
・Agent Specification is “Windows 2019”.
・Choose the way to run the analysis is “Integrate with Maven or Gradle”.
・JDK version is “11”.
・SonarQube scanner for Gradle plugin version is 3.0
logs_1299.zip (104.9 KB)
The log can be found here.
Note that the source was made in Java 8, so I ran it with a different configuration that I contacted the other day.
JDK version is “8”.
SonarQube scanner for Gradle plugin version is 2.8
Is this due to an older version of Java?(Does SonarCloud not support Java 8?)
I would like to solve this problem as soon as possible, can you please tell me how to deal with it?
Thanks! Those logs aren’t any more helpful, unfortunately.
At this point, I’d really suggest keeping your build as is, but move your SonarCloud analysis outside the gradle task (set sonarQubeRunAnalysis to false) and add two tasks that
Sorry, I meant to say SonarCloud (although the task parameter is the same).
I’m pretty sure that’s why analysis fails to get started. In any case, it certainly won’t progress any further if you’re using Java 8 (although like I said, the analysis needs to use Java 17, not your build).