Hi,
I am getting below error while executing freestyle job from Jenkins on Window10:
00:06:42.329 ERROR: Error during SonarQube Scanner execution
00:06:42.329 ERROR: Tasks support was removed in SonarQube 7.6.
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeeded?
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
This is not actually about your analysis parameters but about your analysis command.
You have something on the command line which you likely intended to be an argument but which is not prefixed with a dash (-). Because there’s no dash, the scanner interprets it as an argument/task.