Whenever I am running a pipeline using Jenkins , I am getting the below error :
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
Whenever I am running a pipeline using Jenkins , I am getting the below error :
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
Welcome
ERROR means something’s going wrong.
Increase the loglevel at scanner side with -X, for Sonarqube server you may increase the loglevel to DEBUG during runtime via https://<yoursonarhost>/admin/system
We need more details, what’s your Sonarqube version, how do you scan, is it the CLI scanner or the maven plugin or … ?
What’s your Sonarqube version / edition ?
Gilbert
Sonarqube version/edition I am using is - Community Edition* Version 10.4.1 , and the scanner used is SonarScanner
OK, what’s the version of the Sonarqube CLI scanner ?
Run your Sonarqube analysis with loglevel DEBUG and attach the Jenkins console (with sensitive parts redacted) log.
sonar-scanner -X ...