The above was generated with the following line:
e:\Tools\sonar-scanner-3.3.0.1492-windows\bin\sonar-scanner.bat sonar.cfamily.reproducer=e:/Jenkins/Slave/workspace/cc_prs/src/implement/diag_cfg.c -X
I was not sure where to add this extra parameter, so I added at the command line.
Seeing the error (“Tasks support was removed…”) I though maybe it should not be a command line parameter, but an extra line in the sonar-project.properties file.
After adding the extra line into sonar-project.properties and running the scanner, I got different errors. See attachment.
I get the message: Please contact SonarSource Support and provide file E:\Jenkins\Slave\workspace\cc_prs\sonar-cfamily.reproducer
scanner-output.txt (30.5 KB)
But the sonar-cfamily.reproducer is not there at all.
I see others also struggling to generate this reproducer file: Crash (IllegalStateException) during C++ analysis