Welcome to the Linux Foundation Forum!

Lab 9 SonarQube Error


I ran into the below error when integrating Sonarqube with Jenkins. Can you please help out?

ERROR: Error during SonarScanner execution
ERROR: You must define the following mandatory properties for 'Unknown': sonar.projectKey
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
ERROR: SonarQube scanner exited with non-zero code: 2
Finished: FAILURE

Best Answer



Upcoming Training