Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube = 7.9.0, Scanner - 4.2 - what are you trying to achieve
I am trying to migrate from Sonar Runner using 4.X version of SonarQube to Sonar Scanner using 7.X version of SonarQube.
I am running the analysis from my build server (Windows Server) having Java 1.8.
The sonar-runner.bat file works fine with the existing command that I have with analysis successfully published to SonarQube.
I am migrating it to sonar-scanner.bat file with relevant options from sonar-runner.bat command copied. But when I run the scanner I get issues that some files cannot be indexed twice and that I need to check the include and the exclude options correctly.
I tried fixing few of the issues but, it keeps going in a circle with no fix. The same command options work fine in runner but I have issues with scanner only.
Note - The correct login token etc have been given for the scanner. No problem on that side.
- what have you tried so far to achieve this