2019-11-19T07:58:12.5197884Z ##[debug]Evaluating condition for step: 'SonarCloud Prepare' 2019-11-19T07:58:12.5198461Z ##[debug]Evaluating: SucceededNode() 2019-11-19T07:58:12.5198540Z ##[debug]Evaluating SucceededNode: 2019-11-19T07:58:12.5198679Z ##[debug]=> True 2019-11-19T07:58:12.5198821Z ##[debug]Result: True 2019-11-19T07:58:12.5198969Z ##[section]Starting: SonarCloud Prepare 2019-11-19T07:58:12.5313468Z ============================================================================== 2019-11-19T07:58:12.5313547Z Task : Prepare Analysis Configuration 2019-11-19T07:58:12.5313585Z Description : Prepare SonarCloud analysis configuration 2019-11-19T07:58:12.5313621Z Version : 1.9.0 2019-11-19T07:58:12.5313656Z Author : sonarsource 2019-11-19T07:58:12.5313693Z Help : [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) 2019-11-19T07:58:12.5313739Z ============================================================================== 2019-11-19T07:58:12.8928734Z ##[debug]agent.TempDirectory=c:\BuildAgents\agent-4\_work\_temp 2019-11-19T07:58:12.8973617Z ##[debug]loading inputs and endpoints 2019-11-19T07:58:12.8979579Z ##[debug]loading ENDPOINT_AUTH_aeef552b-f4b2-4939-8399-0c34ff5ec4a0 2019-11-19T07:58:12.8992261Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_aeef552b-f4b2-4939-8399-0c34ff5ec4a0_APITOKEN 2019-11-19T07:58:12.8997810Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2019-11-19T07:58:12.9000315Z ##[debug]loading ENDPOINT_AUTH_SCHEME_aeef552b-f4b2-4939-8399-0c34ff5ec4a0 2019-11-19T07:58:12.9002681Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2019-11-19T07:58:12.9005607Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2019-11-19T07:58:12.9008540Z ##[debug]loading INPUT_CLIPROJECTVERSION 2019-11-19T07:58:12.9012671Z ##[debug]loading INPUT_CLISOURCES 2019-11-19T07:58:12.9017277Z ##[debug]loading INPUT_CONFIGFILE 2019-11-19T07:58:12.9021604Z ##[debug]loading INPUT_CONFIGMODE 2019-11-19T07:58:12.9025751Z ##[debug]loading INPUT_EXTRAPROPERTIES 2019-11-19T07:58:12.9029858Z ##[debug]loading INPUT_ORGANIZATION 2019-11-19T07:58:12.9033902Z ##[debug]loading INPUT_PROJECTKEY 2019-11-19T07:58:12.9038545Z ##[debug]loading INPUT_PROJECTVERSION 2019-11-19T07:58:12.9042610Z ##[debug]loading INPUT_SCANNERMODE 2019-11-19T07:58:12.9046614Z ##[debug]loading INPUT_SONARCLOUD 2019-11-19T07:58:12.9055158Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN 2019-11-19T07:58:12.9065756Z ##[debug]loaded 17 2019-11-19T07:58:12.9095831Z ##[debug]Agent.ProxyUrl=http://192.168.1.3:3128 2019-11-19T07:58:12.9110225Z ##[debug]Agent.ProxyUsername=undefined 2019-11-19T07:58:12.9110710Z ##[debug]Agent.ProxyPassword=undefined 2019-11-19T07:58:12.9111122Z ##[debug]Agent.ProxyBypassList=["localhost","mlearning"] 2019-11-19T07:58:12.9113262Z ##[debug]expose agent proxy configuration. 2019-11-19T07:58:12.9114825Z ##[debug]Agent.CAInfo=undefined 2019-11-19T07:58:12.9115083Z ##[debug]Agent.ClientCert=undefined 2019-11-19T07:58:12.9115930Z ##[debug]Agent.SkipCertValidation=undefined 2019-11-19T07:58:14.0404804Z ##[debug]SonarCloud=aeef552b-f4b2-4939-8399-0c34ff5ec4a0 2019-11-19T07:58:14.0405618Z ##[debug]aeef552b-f4b2-4939-8399-0c34ff5ec4a0=https://sonarcloud.io/ 2019-11-19T07:58:14.0409291Z ##[debug]aeef552b-f4b2-4939-8399-0c34ff5ec4a0 auth param apitoken = *** 2019-11-19T07:58:14.0409592Z ##[debug]aeef552b-f4b2-4939-8399-0c34ff5ec4a0 auth param username = null 2019-11-19T07:58:14.0409802Z ##[debug]aeef552b-f4b2-4939-8399-0c34ff5ec4a0 auth param password = null 2019-11-19T07:58:14.0411588Z ##[debug]organization=krossk 2019-11-19T07:58:14.0422321Z ##[debug]scannerMode=MSBuild 2019-11-19T07:58:14.0425173Z ##[debug]projectKey=esw.invoicing 2019-11-19T07:58:14.0425432Z ##[debug]projectName=null 2019-11-19T07:58:14.0432785Z ##[debug]projectVersion=1.0 2019-11-19T07:58:14.0434792Z ##[debug]organization=krossk 2019-11-19T07:58:14.0454146Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/krossk/ 2019-11-19T07:58:14.0454473Z ##[debug]System.PullRequest.PullRequestId=undefined 2019-11-19T07:58:14.0457236Z ##[debug]Build.Repository.Provider=TfsGit 2019-11-19T07:58:14.0457439Z ##[debug]Build.SourceBranch=refs/heads/master 2019-11-19T07:58:14.0468853Z SYSTEMVSSCONNECTION exists true 2019-11-19T07:58:14.0469185Z ##[debug]SYSTEMVSSCONNECTION exists true 2019-11-19T07:58:14.3515594Z ##[debug]Build.Repository.Name=Invoicing 2019-11-19T07:58:14.3515896Z ##[debug]System.TeamProject=Esw 2019-11-19T07:58:14.5481946Z ##[debug]Default branch of this repository is 'refs/heads/master' 2019-11-19T07:58:14.5482652Z ##[debug]SonarCloud or SonarQube version >= 7.2.0 detected, setting report-task.txt file to its newest location. 2019-11-19T07:58:14.5483205Z ##[debug]Agent.TempDirectory=c:\BuildAgents\agent-4\_work\_temp 2019-11-19T07:58:14.5483445Z ##[debug]Build.BuildNumber=20191119.1 2019-11-19T07:58:14.5487180Z ##[debug][SQ] Branch and PR parameters: {"sonar.scanner.metadataFilePath":"c:\\BuildAgents\\agent-4\\_work\\_temp\\sonar\\20191119.1\\9cdb579e-fb21-2149-58ea-4020429b1bdc\\report-task.txt"} 2019-11-19T07:58:14.5490094Z ##[debug]extraProperties=sonar.verbose=true 2019-11-19T07:58:14.5497516Z ##[debug]set SONARQUBE_SCANNER_MODE=MSBuild 2019-11-19T07:58:14.5499629Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_SCANNER_MODE;issecret=false;]MSBuild 2019-11-19T07:58:14.5500433Z ##[debug]set SONARQUBE_ENDPOINT=******** 2019-11-19T07:58:14.5504783Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_ENDPOINT;issecret=true;]*** 2019-11-19T07:58:14.5511229Z ##[debug]set SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"https://sonarcloud.io/","sonar.login":***,"sonar.organization":"krossk","sonar.projectKey":"esw.invoicing","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"c:\\BuildAgents\\agent-4\\_work\\_temp\\sonar\\20191119.1\\9cdb579e-fb21-2149-58ea-4020429b1bdc\\report-task.txt","sonar.verbose":"true"} 2019-11-19T07:58:14.5512147Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS;issecret=false;]{"sonar.host.url":"https://sonarcloud.io/","sonar.login":***,"sonar.organization":"krossk","sonar.projectKey":"esw.invoicing","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"c:\\BuildAgents\\agent-4\\_work\\_temp\\sonar\\20191119.1\\9cdb579e-fb21-2149-58ea-4020429b1bdc\\report-task.txt","sonar.verbose":"true"} 2019-11-19T07:58:14.5520111Z ##[debug]Absolute path for pathSegments: c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0,classic-sonar-scanner-msbuild,SonarScanner.MSBuild.exe = c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe 2019-11-19T07:58:14.5520354Z ##[debug]Using classic scanner at c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe 2019-11-19T07:58:14.5520525Z ##[debug]set SONARQUBE_SCANNER_MSBUILD_EXE=c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe 2019-11-19T07:58:14.5520890Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_SCANNER_MSBUILD_EXE;issecret=false;]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe 2019-11-19T07:58:14.5523839Z ##[debug]which 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:58:14.5530514Z ##[debug]found: 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:58:14.5530736Z ##[debug]which 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:58:14.5534222Z ##[debug]found: 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:58:14.5538097Z ##[debug]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe arg: begin 2019-11-19T07:58:14.5539007Z ##[debug]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe arg: /k:esw.invoicing 2019-11-19T07:58:14.5539652Z ##[debug]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe arg: /o:krossk 2019-11-19T07:58:14.5541434Z ##[debug]system.debug=true 2019-11-19T07:58:14.5541872Z ##[debug]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe arg: /d:sonar.verbose=true 2019-11-19T07:58:14.5549900Z ##[debug]exec tool: c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe 2019-11-19T07:58:14.5550316Z ##[debug]arguments: 2019-11-19T07:58:14.5551187Z ##[debug] begin 2019-11-19T07:58:14.5551374Z ##[debug] /k:esw.invoicing 2019-11-19T07:58:14.5551740Z ##[debug] /o:krossk 2019-11-19T07:58:14.5552002Z ##[debug] /d:sonar.verbose=true 2019-11-19T07:58:14.5565189Z [command]c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:esw.invoicing /o:krossk /d:sonar.verbose=true 2019-11-19T07:58:14.6250145Z SonarScanner for MSBuild 4.7.1 2019-11-19T07:58:14.6252593Z Using the .NET Framework version of the Scanner for MSBuild 2019-11-19T07:58:14.6678193Z Default properties file was found at c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml 2019-11-19T07:58:14.6678747Z Loading analysis properties from c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml 2019-11-19T07:58:14.6678878Z sonar.verbose=true was specified - setting the log verbosity to 'Debug' 2019-11-19T07:58:14.6681200Z Pre-processing started. 2019-11-19T07:58:14.6718565Z Preparing working directories... 2019-11-19T07:58:14.6730459Z Using environment variables to determine the download directory... 2019-11-19T07:58:14.6734652Z Using environment variable 'AGENT_BUILDDIRECTORY', value 'c:\BuildAgents\agent-4\_work\54' 2019-11-19T07:58:14.7598902Z 08:58:14.759 08:58:14.752 Loading analysis properties from c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml 2019-11-19T07:58:14.7600170Z 08:58:14.759 08:58:14.759 sonar.verbose=true was specified - setting the log verbosity to 'Debug' 2019-11-19T07:58:14.7627737Z 08:58:14.762 Updating build integration targets... 2019-11-19T07:58:14.7679120Z 08:58:14.767 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7686622Z 08:58:14.768 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7695276Z 08:58:14.769 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7707547Z 08:58:14.77 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7718383Z 08:58:14.771 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7727117Z 08:58:14.772 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7732717Z 08:58:14.773 The file SonarQube.Integration.ImportBefore.targets is up to date at C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore 2019-11-19T07:58:14.7775621Z 08:58:14.777 Installed SonarQube.Integration.targets to c:\BuildAgents\agent-4\_work\54\.sonarqube\bin\targets 2019-11-19T07:58:14.7793628Z 08:58:14.779 Creating config and output folders... 2019-11-19T07:58:14.7812688Z 08:58:14.781 Creating directory: c:\BuildAgents\agent-4\_work\54\.sonarqube\conf 2019-11-19T07:58:14.7820221Z 08:58:14.781 Creating directory: c:\BuildAgents\agent-4\_work\54\.sonarqube\out 2019-11-19T07:58:14.7907654Z 08:58:14.79 Fetching analysis configuration settings... 2019-11-19T07:58:14.7953192Z 08:58:14.793 Downloading from https://sonarcloud.io/api/server/version... 2019-11-19T07:59:17.9984675Z ##[error]08:59:17.989 Failed to request and parse 'https://sonarcloud.io/api/server/version': Unable to connect to the remote server 2019-11-19T07:59:17.9993703Z ##[debug]Processed: ##vso[task.logissue type=error;]08:59:17.989 Failed to request and parse 'https://sonarcloud.io/api/server/version': Unable to connect to the remote server 2019-11-19T07:59:17.9994008Z 08:59:17.989 Failed to request and parse 'https://sonarcloud.io/api/server/version': Unable to connect to the remote server 2019-11-19T07:59:17.9994481Z ##[error]08:59:17.99 Could not connect to the SonarQube server. Check that the URL is correct and that the server is available. URL: https://sonarcloud.io/ 2019-11-19T07:59:17.9994877Z ##[debug]Processed: ##vso[task.logissue type=error;]08:59:17.99 Could not connect to the SonarQube server. Check that the URL is correct and that the server is available. URL: https://sonarcloud.io/ 2019-11-19T07:59:17.9995028Z 08:59:17.99 Could not connect to the SonarQube server. Check that the URL is correct and that the server is available. URL: https://sonarcloud.io/ 2019-11-19T07:59:17.9995338Z ##[error]08:59:17.991 Pre-processing failed. Exit code: 1 2019-11-19T07:59:17.9995574Z ##[debug]Processed: ##vso[task.logissue type=error;]08:59:17.991 Pre-processing failed. Exit code: 1 2019-11-19T07:59:17.9995724Z 08:59:17.991 Pre-processing failed. Exit code: 1 2019-11-19T07:59:18.0015845Z ##[debug]Exit code 1 received from tool 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:59:18.0025405Z ##[debug]STDIO streams have closed for tool 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' 2019-11-19T07:59:18.0147115Z ##[debug]task result: Failed 2019-11-19T07:59:18.0149109Z ##[error]The process 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1 2019-11-19T07:59:18.0149638Z ##[debug]Processed: ##vso[task.issue type=error;]The process 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1 2019-11-19T07:59:18.0150835Z ##[debug]Processed: ##vso[task.complete result=Failed;]The process 'c:\BuildAgents\agent-4\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1 2019-11-19T07:59:18.0211243Z ##[section]Finishing: SonarCloud Prepare