Tasks support was removed in SonarQube 7.6

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

Below are my param:

sonar.projectKey=SimpleWebAppWithJenkins
sonar.projectName=SimpleWebAppWithJenkins
sonar.host.url=http://localhost:9000
sonar.sources=.
sonar.language=Java
sonar.projectVersion=1.0
sonar.login=secretText
sonar.analysis.mode=publish
sonar.verbose=true
sonar.buildbreaker.skip=true
sonar.sourceEncoding=UTF-8

Hi,

Welcome to the community!

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.

 
HTH,
Ann

Hi,
I am just adding -X in additional arguments section for debugging and no other argument is added.

Hi,

How about a screenshot of these settings in your Jenkins job. Also, your job log would be helpful.

 
Ann

A post was split to a new topic: Analysis fails with ‘task’ error