SonarQube fails to analyse when running CakeBuild on Jenkins

1,900 views
Skip to first unread message

pa...@paulomorgado.info

unread,
Apr 15, 2018, 12:47:23 PM4/15/18
to SonarQube
Hello!

I have a Jenkins job that uses the SonarQube Jenkins plugin for analysis and CakeBuild to build the solution and run the tests.

SonarQube is unable to inject its targets on builds run from CakeBuild. But if I copy the MSBuild command line from Cake output and use it instead of the Cake script, SonarQube is able to inject it's targets and perform its analysis.

So far, I've collected MSBuild binlogs from builds with and without Cake and I can see that the targets from SonarQube are not being loaded when running from Cake.

I can see that it's load the SonarQube.Integration.ImportBefore.targets target files from %LOCALAPPDATA%\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore.

Any hints?

Amaury Leve

unread,
Apr 17, 2018, 10:29:42 AM4/17/18
to pa...@paulomorgado.info, SonarQube
Hi Paulo,

So you are running the sonar analysis through the Jenkins task not through the cake task, am I right?

Could you make sure the jenkins job is not run through a system account? We have identified a problem with this use-case (see https://github.com/SonarSource/sonar-scanner-msbuild/issues/465).

Cheers,
Amaury

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/d13a876b-a469-4290-808c-ff6bec94feb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Amaury Levé | SonarSource

Software Developer - .Net Team

http://sonarsource.com


Are you using SonarLint in your IDE? 

pa...@paulomorgado.info

unread,
Apr 19, 2018, 4:35:44 AM4/19/18
to SonarQube
Hi Amaury,

Yes, I'm running the sonar analysis through the 2.7.1 Jenkins task. I don't quite understand what you intend with "a system account", but it's not "the System account".

So far, I think I've pinpointed it down to builds where the build is not at the root of the Jenkins workspace. If I use msbuild directly on such builds, the analysis works and if the build is at the root of the Jenkins workspace the analysis works when using cake.
This the Sonar output for the failing build.

[tpm-sonar] $ C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\MSBuild.SonarQube.Runner.exe begin /k:***** /n:***** /v:stable /d:sonar.host.url=https://***** ******** /d:sonar.cs.opencover.reportsPaths=src\Artifacts\opencover-report.xml /d:sonar.cs.xunit.reportsPaths=src\Artifacts\xunit-test-results.xml /d:sonar.links.ci=http://***** /d:sonar.links.scm=https://*****
WARNING: ------------------------------------------------------------------------
This executable is deprecated and may be removed in next major version of the SonarScanner for MSBuild. Please use 'SonarScanner.MSBuild.exe' instead.
------------------------------------------------------------------------
SonarScanner for MSBuild 4.1.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\SonarQube.Analysis.xml
Loading analysis properties from C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\SonarQube.Analysis.xml
Pre-processing started.
Preparing working directories...
08:56:26.109  Updating build integration targets...
08:56:26.126  Fetching analysis configuration settings...
08:56:26.575  Provisioning analyzer assemblies for cs...
08:56:26.576  Installing required Roslyn analyzers...
08:56:26.743  Pre-processing succeeded.
...
[tpm-sonar] $ C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\MSBuild.SonarQube.Runner.exe end ********
WARNING: ------------------------------------------------------------------------
This executable is deprecated and may be removed in next major version of the SonarScanner for MSBuild. Please use 'SonarScanner.MSBuild.exe' instead.
------------------------------------------------------------------------
SonarScanner for MSBuild 4.1.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\SonarQube.Analysis.xml
Loading analysis properties from C:\****\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQube-4\SonarQube.Analysis.xml
Post-processing started.
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:
  1. The project has not been built - the project must be built in between the begin and end steps
  2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 upwards are supported
  3. The begin, build and end steps have not all been launched from the same folder
  4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
09:01:27.901  Creating a summary markdown file...
09:01:27.903  Post-processing failed. Exit code: 1
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 1)

And this is the same cake build using SonarScanner.MSBuild.exe (works the same with MSBuild.SonarQube.Runner.exe):

SonarScanner for MSBuild 4.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at C:\****\workspace\*****\src\MSBuild.SonarQube.Runner.Tool\tools\SonarQube.Analysis.xml
Loading analysis properties from C:\****\workspace\*****\src\MSBuild.SonarQube.Runner.Tool\tools\SonarQube.Analysis.xml
Pre-processing started.
Preparing working directories...
11:08:52.517  Updating build integration targets...
11:08:52.53  Fetching analysis configuration settings...
11:08:52.83  Provisioning analyzer assemblies for cs...
11:08:52.831  Installing required Roslyn analyzers...
11:08:52.969  Pre-processing succeeded.
...
SonarScanner for MSBuild 4.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at C:\****\workspace\*****\src\MSBuild.SonarQube.Runner.Tool\tools\SonarQube.Analysis.xml
Loading analysis properties from C:\****\workspace\*****\src\MSBuild.SonarQube.Runner.Tool\tools\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: C:\****\workspace\*****\src\MSBuild.SonarQube.Runner.Tool\tools\sonar-scanner-3.1.0.1141\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: C:\****\workspace\*****\src\.sonarqube\out\sonar-project.properties
INFO: SonarQube Scanner 3.1.0.1141
INFO: Java 1.8.0_161 Oracle Corporation (64-bit)
INFO: Windows Server 2016 10.0 amd64
INFO: SONAR_SCANNER_OPTS=-Xmx1024m
INFO: User cache: C:\Users\****\.sonar\cache
INFO: SonarQube server 6.7.2
INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Publish mode
INFO: Load global settings
INFO: Load global settings (done) | time=232ms
INFO: Server id: AWHcTyI-rZC6y0netl0J
INFO: User cache: C:\Users\****\.sonar\cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=57ms
INFO: Process project properties
INFO: Load project repositories
INFO: Load project repositories (done) | time=112ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=26ms
INFO: Load active rules
INFO: Load active rules (done) | time=561ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=30ms
INFO: Project key: *****
INFO: -------------  Scan *****
INFO: Load server rules
INFO: Load server rules (done) | time=64ms
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_CD20B2A1-8B98-414A-8688-82A2436D9E12
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_343D0410-7785-44A9-9A58-FD6E4E2CA6AB
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 6 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 1 files to be analyzed
INFO: 1/1 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_A6002D43-8767-43FC-8351-E5422CF1132A
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_1F059890-CFD9-4DF2-B197-0F7EA4474902
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_7C427C17-326C-4BF7-86B1-0DFC81793F2E
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 1 files to be analyzed
INFO: 1/1 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_AC538E93-ECD4-4DC3-BC40-368ED2974D84
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 53 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 22 files to be analyzed
INFO: 22/22 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_B2A6A67D-03FE-4820-B95F-8C87704F0411
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 7 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: SCM provider for this project is: git
INFO: 4 files to be analyzed
INFO: 4/4 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_26ADB0D1-3938-4266-9552-02B270CE2AEB
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_5F943FC2-5A8D-40BB-BEB9-032058D6ED5A
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_4A392694-1D70-4FB1-8A2E-54CA69459FFA
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_D9F61637-D570-4216-A8B6-1592FDCD54C6
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_CEDCBA55-6487-4B9F-A10B-5B375321187F
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_E7A08E14-5FDC-4136-9C35-F719782EAC79
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_0C9DDD4A-C9E7-45C0-A800-D572595A2600
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 5 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 2/2 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_4E32165A-ADAD-4BAF-B03F-3ECC52D52D0E
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_65BBB2A0-1A68-49ED-A1F3-5036E3D59A45
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 8 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_9B88C608-F73B-4557-A31F-0DDFF0E110F3
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 16 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 6 files to be analyzed
INFO: 6/6 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_92498388-6F2E-4A2A-89CC-DDFFC216821D
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_02DB612F-88C7-45CB-B339-903FEB1C8C9A
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 8 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 4 files to be analyzed
INFO: 4/4 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_859FD616-14D5-42BE-94AF-760DB7737D01
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 4 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 2/2 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_5E90E8E5-26C9-4247-9759-94BBE6F7CE11
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_45A42EEF-618B-4E3E-BB1E-0DE696A68397
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 11 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 2/2 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_3D9C0CF7-12BB-4156-AB40-9E835F65C323
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_9961A0EE-A74E-4969-8C14-32AB0549D3FD
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_1BF57F59-DA50-46A2-8584-21B0912B5BAA
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 10 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_3E8CFBE7-794D-4FE8-9B5D-11B636F90DCF
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_8CE64427-AEA4-44EB-B59B-1C2A2B0CCC50
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_D4CB791D-7087-4547-818D-82E632E84F12
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_456EF5E1-C306-490C-ABA5-C8918AC3EC3C
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 14 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 5 files to be analyzed
INFO: 5/5 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_E657DC6F-2D57-4EB6-A43C-F6C25F11E758
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 4 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 2/2 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_92220B9A-EFCC-491A-959A-D051674313D1
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 11 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 2/2 files analyzed
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_EB35035A-31A3-43FE-8E4C-D8AD15347DB7
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_F68C5DF5-ECBE-454D-986E-09647D3FADD9
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src\*****
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar\*****_*****_ADF34778-CA93-4C19-AA2B-4EA6CC160F52
INFO: Source paths: *****
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: 9 files indexed
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: -------------  Scan *****
INFO: Base dir: C:\****\workspace\*****\src
INFO: Working dir: C:\****\workspace\*****\src\.sonarqube\out\.sonar
INFO: Source paths: *****
INFO: Source encoding: windows-1252, default locale: en_US
INFO: Index files
INFO: 6 files indexed
INFO: Quality profile for cs: Sonar way (outdated copy)
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: Sensor C# [csharp]
WARNING: WARN: Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
WARNING: WARN: No roslyn issues report not found for this project.
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\32\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\2\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\21\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\8\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\9\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\4\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\3\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\31\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\33\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\1\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\0\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\30\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\18\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\29\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\10\output-cs'
INFO: Importing results from 6 proto files in 'C:\****\workspace\*****\src\.sonarqube\out\24\output-cs'
INFO: Importing 16 Roslyn reports
INFO: Sensor C# [csharp] (done) | time=457ms
INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Parsing the OpenCover report C:\****\workspace\*****\src\Artifacts\opencover-report.xml
INFO: Adding this code coverage report to the cache for later reuse: C:\****\workspace\*****\src\Artifacts\opencover-report.xml
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=166ms
INFO: Sensor C# Unit Test Results Import [csharp]
INFO: Parsing the XUnit Test Results file C:\****\workspace\*****\src\Artifacts\xunit-test-results.xml
WARNING: WARN: Metric 'test_success_density' is an internal metric computed by SonarQube. Provided value is ignored.
INFO: Sensor C# Unit Test Results Import [csharp] (done) | time=7ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=79ms
INFO: Sensor CPD Block Indexer
INFO: Sensor CPD Block Indexer (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 0/2 files analyzed
WARNING: WARN: Missing blame information for the following files:
WARNING: WARN:   * packages/*****.2.3.1/tools/CommonAssemblyInfo.cs
WARNING: WARN:   * packages/*****.2.3.1/tools/_Package_AnyCPU.cs
WARNING: WARN: This may lead to missing/broken features in SonarQube
INFO: 14 files had no CPD blocks
INFO: Calculating CPD for 61 files
INFO: CPD calculation finished
INFO: Analysis report generated in 341ms, dir size=1000 KB
INFO: Analysis reports compressed in 203ms, zip size=351 KB
INFO: Analysis report uploaded in 59ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://*****/dashboard/index/*****
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://*****/api/ce/task?id=AWLTGG3rnC8qmyEcVGt1
INFO: Task total time: 8.263 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 15.344s
INFO: Final Memory: 16M/521M
INFO: ------------------------------------------------------------------------
The SonarQube Scanner has finished
11:13:11.604  Creating a summary markdown file...
11:13:11.606  Analysis results: https://*****/dashboard/index/*****
11:13:11.606  Post-processing succeeded.
Reply all
Reply to author
Forward
0 new messages