Hi,
1.I am using the SonarCloud with VSTS.
2.I have configure the VSTS tasks and SonarCloud connection in VSTS.
3.First time the prepare analysis task is failing, so i used following parameter in my VSTS environment variables and it’s working now.
SONAR_SCANNER_OPTS. Value: -Djava.net.useSystemProxies=true
4.I have also setup the proxy in IE connection, and my VSTS agent is also running under corporate proxy
5. after all above setup my prepare analysis task is succeeding now, but Run Code Analysis Task is failing now with following errors:
[error]ERROR: SonarQube server [https://sonarcloud.io] can not be reached
[error]ERROR: Error during SonarQube Scanner execution
##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube
below the log file of VSTS RUn Code Analysis Task:
logs.txt (12.1 KB)
6.I have also tried this: SONAR_SCANNER_OPTS=-Dhttps.proxyHost=xxx -Dhttps.proxyPort=xxxx
Is there any perfect solution for my issue, Please suggest?
Thanks.