Error Log :
##[section]Starting: Run Code Analysis
==============================================================================
Task : Run Code Analysis
Description : Run scanner and upload the results to the SonarQube server.
Version : 4.6.3
Author : sonarsource
Help : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.
==============================================================================
[command]E:\vsts\a_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.6.3\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end
SonarScanner for MSBuild 4.6.2
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
06:28:31.969 Fetching code coverage report information from TFS…
06:28:31.969 Attempting to locate a test results (.trx) file…
06:28:32.313 Looking for TRX files in: E:\vsts\a\4511\TestResults
06:28:32.313 No test results files found
06:28:32.61 Did not find any binary coverage files in the expected location.
06:28:32.61 Falling back on locating coverage files in the agent temp directory.
06:28:32.61 Searching for coverage files in E:\vsts\a_temp
06:28:32.61 No coverage files found in the agent temp directory.
Calling the SonarQube Scanner…
INFO: Scanner configuration file: E:\vsts\a_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.6.3\classic-sonar-scanner-msbuild\sonar-scanner-3.3.0.1492\bin…\conf\sonar-scanner.properties
INFO: Project root configuration file: E:\vsts\a\4511.sonarqube\out\sonar-project.properties
INFO: SonarQube Scanner 3.3.0.1492
INFO: Java 1.8.0_161 Oracle Corporation (64-bit)
INFO: Windows Server 2012 R2 6.3 amd64
INFO: User cache: C:\Users\prgremotebuilder.sonar\cache
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 11:43.995s
INFO: Final Memory: 3M/123M
INFO: ------------------------------------------------------------------------
##[error]ERROR: Error during SonarQube Scanner execution
ERROR: Error during SonarQube Scanner execution
##[error]ERROR: Unable to execute SonarQube
ERROR: Caused by: Fail to download sonar-scanner-engine-shaded-7.8-all.jar to C:\Users\prgremotebuilder.sonar\cache_tmp\fileCache2149164082994203068.tmp
ERROR:
ERROR: Unable to execute SonarQube
ERROR: Caused by: Fail to download sonar-scanner-engine-shaded-7.8-all.jar to C:\Users\prgremotebuilder.sonar\cache_tmp\fileCache2149164082994203068.tmp
ERROR:
##[error]The SonarQube Scanner did not complete successfully
The SonarQube Scanner did not complete successfully
##[error]06:40:24.848 Post-processing failed. Exit code: 1
06:40:24.848 Post-processing failed. Exit code: 1
##[error]E:\vsts\a_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.6.3\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe failed with return code: 1
##[section]Finishing: Run Code Analysis