Docker deployed jenkins version is 2.442 and installed sonar scanner plugin version is 2.17.1

soanrqube deployed on another cloud centos server also by docker , version is 10.3 .

Jenkins global tool configuration is :

please help to ocnfirm that’s the root cause of the issue ,thanks !

Hi @lin888,

Welcome to the community :confetti_ball:

The error seems to be with the JAVA version.

It looks like, the slave machine/agent where you are running your job has Java 8 and the error says it requires Java 17.

The scanner version of 5.0 and above requires open JDK 17 to run the analysis. Ref - Prerequisites and overview

Upgrading the Java in the slave machine/agent should resolve the issue.


1 Like