##[debug]Evaluating condition for step: 'SonarQube - Begin Analysis' ##[debug]Evaluating: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) ##[debug]Evaluating and: ##[debug]..Evaluating succeeded: ##[debug]..=> True ##[debug]..Evaluating ne: ##[debug]....Evaluating indexer: ##[debug]......Evaluating variables: ##[debug]......=> Object ##[debug]......Evaluating String: ##[debug]......=> 'Build.Reason' ##[debug]....=> 'Manual' ##[debug]....Evaluating String: ##[debug]....=> 'PullRequest' ##[debug]..=> True ##[debug]=> True ##[debug]Expanded: and(True, ne('Manual', 'PullRequest')) ##[debug]Result: True ##[section]Starting: SonarQube - Begin Analysis ============================================================================== Task : Command line Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows Version : 2.151.1 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line ============================================================================== ##[debug]VstsTaskSdk 0.9.0 commit 6c48b16164b9a1c9548776ad2062dad5cd543352 ##[debug]Entering C:\build\_work\_tasks\CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9\2.151.1\cmdline.ps1. ##[debug]Loading resource strings from: C:\build\_work\_tasks\CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9\2.151.1\task.json ##[debug]Loaded 6 strings. ##[debug]SYSTEM_CULTURE: 'en-US' ##[debug]Loading resource strings from: C:\build\_work\_tasks\CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9\2.151.1\Strings\resources.resjson\en-US\resources.resjson ##[debug]Loaded 6 strings. ##[debug]INPUT_FAILONSTDERR: 'false' ##[debug] Converted to bool: False ##[debug]INPUT_SCRIPT: 'c:\build\_work\378\SonarRunner\%SONARRUNNERVERSION%\SonarScanner.MSBuild.exe begin /key:rd.foundation.logfileviewer /name:"RD Foundation LogFileViewer" /version:%NEWCODEIDENTIFIER% /d:sonar.host.url="https://sonarqube.***" /d:sonar.sourceEncoding="UTF-8" /d:sonar.login=***** /d:sonar.password=*** /d:sonar.cs.vscoveragexml.reportsPaths="c:\build\_work\378\s/TestResults/**/*.coveragexml" /d:sonar.cxx.cppcheck.reportPath="c:\build\_work\378\TestResults\90987.cppcheck**.xml" /d:sonar.verbose=true' ##[debug]INPUT_WORKINGDIRECTORY: 'c:\build\_work\378\s' ##[debug]Asserting container path exists: 'c:\build\_work\378\s' Generating script. Script contents: c:\build\_work\378\SonarRunner\%SONARRUNNERVERSION%\SonarScanner.MSBuild.exe begin /key:rd.foundation.logfileviewer /name:"RD Foundation LogFileViewer" /version:%NEWCODEIDENTIFIER% /d:sonar.host.url="https://sonarqube.***" /d:sonar.sourceEncoding="UTF-8" /d:sonar.login=***** /d:sonar.password=*** /d:sonar.cs.vscoveragexml.reportsPaths="c:\build\_work\378\s/TestResults/**/*.coveragexml" /d:sonar.cxx.cppcheck.reportPath="c:\build\_work\378\TestResults\90987.cppcheck**.xml" /d:sonar.verbose=true ##[debug]AGENT_VERSION: '2.170.0' ##[debug]AGENT_TEMPDIRECTORY: 'c:\build\_work\_temp' ##[debug]Asserting container path exists: 'c:\build\_work\_temp' ##[debug]Asserting leaf path exists: 'C:\Windows\system32\cmd.exe' ========================== Starting Command Output =========================== ##[debug]Entering Invoke-VstsTool. ##[debug] Arguments: '/D /E:ON /V:OFF /S /C "CALL "c:\build\_work\_temp\ba838d7e-92d5-42c2-b4aa-ce8eb1b20c76.cmd""' ##[debug] FileName: 'C:\Windows\system32\cmd.exe' ##[debug] WorkingDirectory: 'c:\build\_work\378\s' ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "c:\build\_work\_temp\ba838d7e-92d5-42c2-b4aa-ce8eb1b20c76.cmd"" SonarScanner for MSBuild 5.0.4 Using the .NET Framework version of the Scanner for MSBuild Default properties file was found at c:\build\_work\378\SonarRunner\current\SonarQube.Analysis.xml Loading analysis properties from c:\build\_work\378\SonarRunner\current\SonarQube.Analysis.xml sonar.verbose=true was specified - setting the log verbosity to 'Debug' Pre-processing started. Preparing working directories... Using environment variables to determine the download directory... Using environment variable 'AGENT_BUILDDIRECTORY', value 'c:\build\_work\378' 11:40:10.028 11:40:10.012 Loading analysis properties from c:\build\_work\378\SonarRunner\current\SonarQube.Analysis.xml 11:40:10.028 11:40:10.028 sonar.verbose=true was specified - setting the log verbosity to 'Debug' 11:40:10.028 Updating build integration targets... 11:40:10.028 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore 11:40:10.028 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.ImportBefore.targets to C:\Users\*****\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore 11:40:10.043 Installed SonarQube.Integration.targets to c:\build\_work\378\.sonarqube\bin\targets 11:40:10.043 Creating config and output folders... 11:40:10.043 Creating directory: c:\build\_work\378\.sonarqube\conf 11:40:10.043 Creating directory: c:\build\_work\378\.sonarqube\out 11:40:10.09 Downloading from https://sonarqube.***/api/server/version... 11:40:10.215 Checking validity of server license 11:40:10.215 Downloading from https://sonarqube.***/api/editions/is_valid_license... 11:40:10.262 SonarQube Community Edition detected, license is valid. 11:40:10.262 Fetching analysis configuration settings... 11:40:10.262 Fetching properties for project 'rd.foundation.logfileviewer' from https://sonarqube.***/api/settings/values?component=rd.foundation.logfileviewer... 11:40:10.262 Downloading from https://sonarqube.***/api/settings/values?component=rd.foundation.logfileviewer... 11:40:10.293 Downloading from https://sonarqube.***/api/languages/list... 11:40:10.293 Fetching quality profile for project 'rd.foundation.logfileviewer' from https://sonarqube.***/api/qualityprofiles/search?project=rd.foundation.logfileviewer... 11:40:10.293 Downloading from https://sonarqube.***/api/qualityprofiles/search?project=rd.foundation.logfileviewer... 11:40:10.325 Fetching active rules for quality profile 'AXGnZNBzVcu-QrMuRNRx' from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&activation=true&qprofile=AXGnZNBzVcu-QrMuRNRx&p=1... 11:40:10.325 Downloading from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&activation=true&qprofile=AXGnZNBzVcu-QrMuRNRx&p=1... 11:40:10.418 Fetching rules not active in quality profile 'AXGnZNBzVcu-QrMuRNRx' for language 'cs' from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params&ps=500&activation=false&qprofile=AXGnZNBzVcu-QrMuRNRx&p=1&languages=cs... 11:40:10.418 Downloading from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params&ps=500&activation=false&qprofile=AXGnZNBzVcu-QrMuRNRx&p=1&languages=cs... 11:40:10.434 Local analyzer cache: C:\Users\*****\AppData\Local\Temp\.sonarqube\resources 11:40:10.45 Writing Roslyn generated ruleset to c:\build\_work\378\.sonarqube\conf\SonarQubeRoslyn-cs.ruleset... 11:40:10.45 Writing Roslyn generated ruleset to c:\build\_work\378\.sonarqube\conf\SonarQubeRoslyn-cs-test.ruleset... 11:40:10.465 Provisioning analyzer assemblies for cs... 11:40:10.465 Installing required Roslyn analyzers... 11:40:10.465 Processing plugin: csharp version 8.22.0.31243 11:40:10.528 Cache hit: using plugin files from C:\Users\*****\AppData\Local\Temp\.sonarqube\resources\0 11:40:10.528 Processing plugin: vbnet version 8.22.0.31243 11:40:10.528 Cache hit: using plugin files from C:\Users\*****\AppData\Local\Temp\.sonarqube\resources\1 11:40:10.528 Writing Roslyn analyzer additional file to c:\build\_work\378\.sonarqube\conf\cs\SonarLint.xml... 11:40:10.543 Fetching quality profile for project 'rd.foundation.logfileviewer' from https://sonarqube.***/api/qualityprofiles/search?project=rd.foundation.logfileviewer... 11:40:10.543 Downloading from https://sonarqube.***/api/qualityprofiles/search?project=rd.foundation.logfileviewer... 11:40:10.559 Fetching active rules for quality profile 'AXY9nOnEfwbcIBno01sS' from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&activation=true&qprofile=AXY9nOnEfwbcIBno01sS&p=1... 11:40:10.559 Downloading from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&activation=true&qprofile=AXY9nOnEfwbcIBno01sS&p=1... 11:40:10.59 Fetching rules not active in quality profile 'AXY9nOnEfwbcIBno01sS' for language 'vbnet' from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params&ps=500&activation=false&qprofile=AXY9nOnEfwbcIBno01sS&p=1&languages=vbnet... 11:40:10.59 Downloading from https://sonarqube.***/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params&ps=500&activation=false&qprofile=AXY9nOnEfwbcIBno01sS&p=1&languages=vbnet... 11:40:10.606 Local analyzer cache: C:\Users\*****\AppData\Local\Temp\.sonarqube\resources 11:40:10.606 Writing Roslyn generated ruleset to c:\build\_work\378\.sonarqube\conf\SonarQubeRoslyn-vbnet.ruleset... 11:40:10.606 Writing Roslyn generated ruleset to c:\build\_work\378\.sonarqube\conf\SonarQubeRoslyn-vbnet-test.ruleset... 11:40:10.606 Provisioning analyzer assemblies for vbnet... 11:40:10.606 Installing required Roslyn analyzers... 11:40:10.606 Processing plugin: csharp version 8.22.0.31243 11:40:10.606 Cache hit: using plugin files from C:\Users\*****\AppData\Local\Temp\.sonarqube\resources\0 11:40:10.606 Processing plugin: vbnet version 8.22.0.31243 11:40:10.606 Cache hit: using plugin files from C:\Users\*****\AppData\Local\Temp\.sonarqube\resources\1 11:40:10.606 Writing Roslyn analyzer additional file to c:\build\_work\378\.sonarqube\conf\vbnet\SonarLint.xml... 11:40:10.637 Pre-processing succeeded. ##[debug]Exit code: 0 ##[debug]Leaving Invoke-VstsTool. ##[debug]Leaving C:\build\_work\_tasks\CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9\2.151.1\cmdline.ps1. ##[section]Finishing: SonarQube - Begin Analysis