We would like to migrate from SQ 7.9 LTS to SQ 8.9 LTS Enterprise, but we have a problem with the Scanner for .NET that blocks the migration.
We followed exactly the steps described under “ Using SonarScanner for .NET with a Proxy ” but the description is wrong:
We did a code review of the SonarScanner for .NET and found that the SONAR_SCANNER_OPTS environment variable is not supported:
- We don’t see in the source code that the .NET Scanner 5.2.2 is processing the
SONAR_SCANNER_OPTSenvironment variable in the begin step like it should.
-Dhttps.proxyHost=<host> -Dhttps.proxyPort=<port>are read from the environment
- The class
SonarScanner.MSBuild.PreProcessor.WebClientDownloaderdoes not use any
HttpClientHandlerit creates in the ctor, despite it needs that in order to get the bootstrap index from the server
- fails with error message
HTTP 407 - Proxy Authentication Required
linked to Error in MSBuild.Scanner end step
What are your plans to fix this issue?