jenkins+sonar报错

1:构建后报错

ERROR: Error during SonarQube Scanner execution
ERROR: Task 'sonar-scanner' does not exist. Please use 'list' task to see all available tasks.
ERROR: 
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE

解决方案:

去掉SonarQube Scanner的Task to run中的内容

你可能感兴趣的:(Spring,Boot)