D:\sonar-scanner-msbuild-3.0.2.656\MSBuild.SonarQube.Runner.exe end
SonarQube Scanner for MSBuild 3.0.2
Default properties file was found at D:\sonar-scanner-msbuild-3.0.2.656\SonarQube.Analysis.xml
Loading analysis properties from D:\sonar-scanner-msbuild-3.0.2.656\SonarQube.Analysis.xml
Post-processing started.
SONAR_SCANNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
Calling the SonarQube Scanner...
INFO: Scanner configuration file: D:\sonar-scanner-msbuild-3.0.2.656\sonar-scanner-3.0.3.778\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: C:\Program Files (x86)\Jenkins\workspace\3nethra neo\.sonarqube\out\sonar-project.properties
INFO: SonarQube Scanner 3.0.3.778
INFO: Java 1.8.0_151 Oracle Corporation (64-bit)
INFO: Windows 10 10.0 amd64
INFO: SONAR_SCANNER_OPTS=-Xmx1024m
INFO: User cache: C:\Users\ForusBuild\.sonar\cache
INFO: Publish mode
INFO: Load global settings
INFO: Load global settings (done) | time=138ms
INFO: Server id: 10f066f7fdfc24d
INFO: User cache: C:\Users\ForusBuild\.sonar\cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=99ms
INFO: SonarQube server 6.6.0
INFO: Default locale: "en_IN", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Process project properties
INFO: Load project repositories
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 4.204s
INFO: Final Memory: 45M/291M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: You're only authorized to execute a local (preview) SonarQube analysis without pushing the results to the SonarQube server. Please contact your SonarQube administrator.
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
The SonarQube Scanner did not complete successfully
Creating a summary markdown file...
Post-processing failed. Exit code: 1
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 1)
Finished: FAILURE
Note1: I did it manually, EXECUTION SUCCESS, The SonarQube Scanner has finished, Post-processing succeeded.
Note2: When I do it from Jenkins it was thrown an error.
Any ideas....
Thanks in Advance.