where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

David Karr
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VrXFrZzDL4XemYAbKsZSCBaWfXTH1PCnTZMu-ApSSdCwA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8aac1f3c-47a5-4654-8d05-c1ac199d217fn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Geoffroy J
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ae706913-0001-45e9-aca0-0cdb89c0f912n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4963da64-2a60-43a7-89e3-9a7b1211b07en%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

David Karr
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Geoffroy J
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAG_uJ%2BBHc5Prq8V5OPxf9v%2BVLV2yGF-wyDxFieNJLdo%2Ba4QTpw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Jesus Fernandez-2
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?

On Thursday, November 12, 2020 at 9:51:20 AM UTC+1 [hidden email] wrote:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/367141d3-fc05-424e-86f2-07bebbaa1d23n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
In reply to this post by Geoffroy J
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/56e493c2-2344-4366-a5ab-243ee58b1fa9n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:02.838  11:26:42.135 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0JGHjnRwWgEnsp8&ps=500&p=1 | time=9ms
00:00:03.090  11:26:42.194 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0F9HjnRwWgEnspk&ps=500&p=1 | time=20ms
00:00:03.090  11:26:42.231 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0JSHjnRwWgEnsrA&ps=500&p=1 | time=22ms
00:00:03.090  11:26:42.241 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0NXHjnRwWgEnsrf&ps=500&p=1 | time=7ms
00:00:03.090  11:26:42.262 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0QdHjnRwWgEnsuB&ps=500&p=1 | time=21ms
00:00:03.090  11:26:42.285 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0NiHjnRwWgEnssn&ps=500&p=1 | time=21ms
00:00:03.090  11:26:42.342 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0TSHjnRwWgEnsx3&ps=500&p=1 | time=54ms
00:00:03.341  11:26:42.414 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0ZsHjnRwWgEns_h&ps=500&p=1 | time=65ms
00:00:03.341  11:26:42.448 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0b8HjnRwWgEntCo&ps=500&p=1 | time=24ms
00:00:03.341  11:26:42.561 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0eSHjnRwWgEntK8&ps=500&p=1 | time=111ms
00:00:03.595  11:26:42.760 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0hWHjnRwWgEntcL&ps=500&p=1 | time=189ms
00:00:03.595  11:26:42.793 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0j2HjnRwWgEntjn&ps=500&p=1 | time=23ms
00:00:03.595  11:26:42.823 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0naHjnRwWgEntl6&ps=500&p=1 | time=29ms
00:00:03.595  11:26:42.834 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0l0HjnRwWgEntkN&ps=500&p=1 | time=10ms
00:00:03.595  11:26:42.893 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0pCHjnRwWgEntqw&ps=500&p=1 | time=58ms
00:00:03.846  11:26:42.945 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0uZHjnRwWgEntyf&ps=500&p=1 | time=50ms
00:00:03.846  11:26:42.998 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXWno0wLHjnRwWgEnt29&ps=500&p=1 | time=51ms
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.097 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=7ms
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Richard Bywater-3
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwdk7EDbVTjgd_aMsa2W%2BgS5X%2BLt1oWLzAMYk5%2BPtVLR3Q%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

Geoffroy J
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwdk7EDbVTjgd_aMsa2W%2BgS5X%2BLt1oWLzAMYk5%2BPtVLR3Q%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAG_uJ%2BDvu_WbDZ9WYOnQd5BzLs0tCF7QvURQNEEoHNpzk9Qi2Q%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
I have noticed that as well, my question is why is not indexing any files... I do not find why, I have tried with the sonar-project.properties in the root folder and adding the arguments with -D, I have tried in 3 different projects and I always get the same result. 

El jueves, 12 de noviembre de 2020 a las 11:58:07 UTC+1, [hidden email] escribió:
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a36cda38-40f5-465d-864b-4e37e9011919n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

David Karr
You would have to look at what directory you're running the scan from, what your "sonar.sources" property is set to, and what your project structure looks like.

Getting correct coverage data is certainly important, but you won't be able to get coverage data if you haven't found any source files.

On Thu, Nov 12, 2020 at 6:47 AM jesus fernandez <[hidden email]> wrote:
I have noticed that as well, my question is why is not indexing any files... I do not find why, I have tried with the sonar-project.properties in the root folder and adding the arguments with -D, I have tried in 3 different projects and I always get the same result. 

El jueves, 12 de noviembre de 2020 a las 11:58:07 UTC+1, [hidden email] escribió:
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a36cda38-40f5-465d-864b-4e37e9011919n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VqBnmxqRCCheLJo85BPpMQ9H2%3DDEvTg5FTvN6kmTxnbTA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
Firt of all thanks a lot for taking your time to help me, is rellay aprecciated. That is my test project folder:  
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA10AAAD6CAYAAABaii2UAAAgAElEQVR4Ae29+bMkxZXnOzb/wHtj74dnz978kN2SvekZ655n9tp6pmesZTZCcAXoaumZ1oq6R0KIBImdBIqiCopCqmQpqKuRIenSagmNSMTWg1oIIaGrJaXWjiixbyIolgJRVUCtVEFRnGfuHu5x3P14RObNiHtz+ZZZWS6+HT/nE5HnG+4R91+0Wi3Cf/gADIABMJBm4BOf+ATOk/itmBoGwHP6WMd5cPm+AVfL910T3CEe4xUPFeN/0USg0ef4BRoxQUzAwPIZwI/X8n0H7sbPd+B5/GIyDccJuBovrhCP8YqHOsYhunD1dmqu3k7DjxbmMH4nSRUT/HiNZ1xwvCwvLuB5eX4Db+V+A1fl/llpfhCP8YqHij9EF0QXRBcYAANgAAyAATAABsAAGAADDTIA0dWgc1f6qgbGG7+rGogJYgIGwAAYAANgAAyAATAA0QXRhasaYAAMgAEwAAbAABgAA2AADDTIAERXg87FVQ1c1QADYAAMgAEwAAbAABgAA2AAoguiC1c1wAAYAANgAAyAATAABsAAGGiQAYiuBp2Lqxq4qgEGwAAYAANgAAyAATAABsAARBdEF65qgAEwAAbAABgAA2AADIABMNAgAxBdDToXVzVwVQMMgAEwAAbAABgAA2AADIABiC6ILlzVAANgAAyAATAABsAAGAADYKBBBiC6GnQurmrgqgYYAANgAAyAATAABsAAGAADEF0QXbiqAQbAABgAA2AADIABMAAGwECDDEB0NehcXNXAVQ0wAAbAABgAA2AADIABMAAGILogunBVAwyAATAABsAAGAADYAAMgIEGGahFdF1z2cfo8jXH0hVr5ujKC4+lq9YeR5vXvYs2r5+nqy9+D11zyftoy4b/Spdf9NcIZoPBxFUUXEUBA2AADIABMAAGwAAYAAPjx0Atomth08m0ZdMpdOXad9MVa95JV649lq666HjavE6JrnfTNZe8l7Zs+Gvacul/g+iC6AIDYAAMgAEwAAbAABgAA2BgphioSXR9khY2nUILl59Omy/+QLHaddG76Or1RnRds+F9EF04uGbq4MJVpvG7yoSYICZgAAyAATAABsDAajBQo+g6KRdeZ+jVLr3F8KLj6er183QN22K4GpPEmDi4wAAY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AbAABhokAGIrgadOy7KGnbgKg8YAANgAAyAATAABsAAGFg9BiC6ILpwVQMMgAEwAAbAABgAA2AADICBBhmA6GrQubiasHpXE+B7+B4MgAEwAAbAABgAA2BgXBiA6ILowlUNMAAGwAAYAANgAAyAATAABhpkAKKrQeeOi7KGHbjKAwbAABgAA2AADIABMAAGVo8BiC6ILlzVAANgAAyAATAABsAAGAADYKBBBiC6GnQurias3tUE+B6+BwNgAAyAATAABsAAGBgXBiC6ILpwVQMMgAEwAAbAABgAA2AADICBBhmA6GrQueOirGEHrvKAATAABsAAGAADYAAMgIHVYwCiC6ILVzXAABgAA2AADIABMAAGwAAYaJABiK4GnYurCat3NQG+h+/BABgAA2AADIABMAAGxoUBiC6ILlzVAANgAAyAATAABsAAGAADYKBBBiC6GnTuuChr2IGrPGAADIABMAAGwAAYAANgYPUYgOiC6MJVDTAABsAAGAADYAAMgAEwAAYaZACiq0Hn4mrC6l1NgO/hezAABsAAGAADYAAMgIFxYQCiC6ILVzXAABgAA2AADIABMAAGwAAYaJABiK4GnTsuyhp24CoPGAADYAAMgAEwAAbAABhYPQYguiC6cFUDDIABMAAGwAAYAANgAAyAgQYZgOhq0Lm4mrB6VxPge/geDIABMAAGwAAYAANgYFwYgOiC6MJVDTAABsAAGAADYAAMgAEwAAYaZACiq0Hnjouyhh24ygMGwAAYAANgAAyAATAABlaPAYguiC5c1QADYAAMgAEwAAbAABgAA2CgQQYguhp0Lq4mrN7VBPgevgcDYAAMgAEwAAbAABgYFwYguiC6cFUDDIABMAAGwAAYAANgAAyAgQYZgOhq0LnjoqxhB67ygAEwAAbAABgAA2AADICB1WMAoguiC1c1wAAYAANgAAyAATAABsAAGGiQAYiuBp2LqwmrdzUBvofvwQAYAANgAAyAATAABsaFAYguiC5c1QADYAAMgAEwAAbAABgAA2CgQQYguhp07rgoa9iBqzxgAAyAATAABsAAGAADYGD1GIDogujCVQ0wAAbAABgAA2AADIABMAAGGmQAoqtB5+JqwupdTYDv4XswAAbAABgAA2AADICBcWEAoguiC1c1wAAYAANgAAyAATAABsAAGGiQAYiuBp07LsoaduAqDxgAA2AADIABMAAGwAAYWD0GILogunBVAwyAATAABsAAGAADYAAMgIEGGYDoatC5uJqwelcT4Hv4HgyAATAABsAAGAADYGBcGIDogujCVQ0wAAbAABgAA2AADIABMAAGGmQAoqtB546LsoYduMoDBsAAGAADYAAMgAEwAAZWjwGILoguXNUAA2AADIABMAAGwAAYAANgoEEGILoadC6uJqze1QT4Hr4HA2AADIABMAAGwAAYGBcGILogunBVAwyAATAABsAAGAADYAAMgIEGGYDoatC546KsYQeu8oABMAAGwAAYAANgAAyAgdVjAKILogtXNcAAGAADYAAMgAEwAAbAABhokAGIrgadi6sJq3c1Ab6H78EAGAADYAAMgAEwAAbGhQGILoguXNUAA2AADIABMAAGwAAYAANgoEEGILoadO64KGvYgas8YAAMgAEwAAbAABgAA2Bg9RiA6ILowlUNMAAGwAAYAANgAAyAATAABhpkAKKrQefiasLqXU2A7+F7MAAGwAAYAANgAAyAgXFhAKILogtXNcAAGAADYAAMgAEwAAbAABhokAGIrgadOy7KGnbgKg8YAANgAAyAATAABsAAGFg9Bv5/1tnA/74jd3IAAAAASUVORK5CYII=" alt="" data-iml="47680.90000000666">
 and this is my sonar-project.properties:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsEAAADtCAYAAABeQKgQAAAgAElEQVR4Ae2d349dVXbn8+eMAAmPcADHPS66RGzHpgnGMuC0gDFTMGoPQY4SNyJkmmmhgRHdirCCFWCkRM0DihopAqR+iF8swRtv/Red0fdqvsXyqrXP3beq7o+65/Nwtc/Ze+211l7nc+/53u1T13/ynx45PfCiBjAAAzAAAzAAAzAAA1Ni4E+mtFjWypsbBmAABmAABmAABmBADCCC2QnnXwJgAAZgAAZgAAZgYHIMIIKBfnLQswPADgAMwAAMwAAMwAAiGBGMCIYBGIABGIABGICByTGACAb6GfQ3X7w4/PHzN4ZvPnh5OH36icm9EdgRYEcABmAABmAABqbFACIYEbx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4ppxzWAABmAABmAABk4CA6UI/tnzP58JX7X+31D2bv7d8De//PXwxE+e3u/z2LLak1BAcuSNDgMwAAMwAAMwAAMnj4EDIlgiV2L3r179xQNi1zvDuX9ZAlh+AerkAcU145rBAAzAAAzAAAycBAYOiGCL3bgLLEGqRyH0SIR2hJcpfKPvk1BAcuSNDgMwAAMwAAMwAAMnj4EDIri1E2wRvMpngwHq5AHFNeOawQAMwAAMwAAMnAQGDohg7cRqt1d/FKddYe/M6jEI/ZEcIhiwTwLY5AinMAADMAADMAADYwyUIthC2L8MofaV//bXPA7Bz6fwnDYMwAAMwAAMwAAMbAUDTRHsHWC3rcckPL6Mdky9M8a3OxiAARiAARiAARiAgcMy0C2C9Ydy/EQaoB0WNObBDgzAAAzAAAzAwCYx0CWCq2eEl7Hzm31uUqHIhTcuDMAADMAADMAADGwPA6UI9h/B+ZngVf4sWhTCgLY9oHEtuZYwAAMwAAMwAAObxEApgqMQXefxJhWKXHjjwgAMwAAMwAAMwMD2MIAI5i88t+IvPPlQ2p4PJa4l1xIGYAAGYGAVDCCCEcGIYBiAARiAARiAARiYHAOIYKCfHPSr+HZJDHYxYAAGYAAGYGCzGUAEI4IRwTAAAzAAAzAAAzAwOQYQwUA/Oej5Zr7Z38y5PlwfGIABGICBVTCACEYEI4JhAAZgAAZgAAZge/LrJAAAAGJJREFUYHIMbLQIXufPsxH79EANqAEMwAAMwAAMwMC2MoAIfgS4txVu1gXbMAADMAADMAADLQYQwYhgdnxhAAZgAAZgAAZgYHIMIIKBfnLQt74R0s9uAQzAAAzAAAxMh4H/B+/GWIloNpILAAAAAElFTkSuQmCC" alt="" data-iml="88159.8600000143">

I have also noticed that in Global tool configuration there are 2 tools: "SonnarQube Scanner" and "SonarScanner for MSBuild" I have been using the latest, I changed to the "SonnarQube Scanner" to see if it worked and the I got this error message on the logs:
```
00:00:01.141 00:00:01.141 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.SonarRunnerInstallation\Sonar4\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
00:00:01.141 The system cannot find the specified path  
```

Could this be related? I understand for C++ projects I have to use the SonarScanner for MSBuild....

Thanks again!
El jueves, 12 de noviembre de 2020 a las 15:55:15 UTC+1, [hidden email] escribió:
You would have to look at what directory you're running the scan from, what your "sonar.sources" property is set to, and what your project structure looks like.

Getting correct coverage data is certainly important, but you won't be able to get coverage data if you haven't found any source files.

On Thu, Nov 12, 2020 at 6:47 AM jesus fernandez <[hidden email]> wrote:
I have noticed that as well, my question is why is not indexing any files... I do not find why, I have tried with the sonar-project.properties in the root folder and adding the arguments with -D, I have tried in 3 different projects and I always get the same result. 

El jueves, 12 de noviembre de 2020 a las 11:58:07 UTC+1, [hidden email] escribió:
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/46c52a68-a264-4334-b603-a93b1431037bn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

David Karr
Your response doesn't show anything for the "test project folder" or "sonar-project.properties".

Your command line here is again using a space after "-D", so that likely will not work.

On Thursday, November 12, 2020 at 7:17:31 AM UTC-8 [hidden email] wrote:
Firt of all thanks a lot for taking your time to help me, is rellay aprecciated. That is my test project folder:  

 and this is my sonar-project.properties:


I have also noticed that in Global tool configuration there are 2 tools: "SonnarQube Scanner" and "SonarScanner for MSBuild" I have been using the latest, I changed to the "SonnarQube Scanner" to see if it worked and the I got this error message on the logs:
```
00:00:01.141 00:00:01.141 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.SonarRunnerInstallation\Sonar4\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
00:00:01.141 The system cannot find the specified path  
```

Could this be related? I understand for C++ projects I have to use the SonarScanner for MSBuild....

Thanks again!
El jueves, 12 de noviembre de 2020 a las 15:55:15 UTC+1, [hidden email] escribió:
You would have to look at what directory you're running the scan from, what your "sonar.sources" property is set to, and what your project structure looks like.

Getting correct coverage data is certainly important, but you won't be able to get coverage data if you haven't found any source files.

On Thu, Nov 12, 2020 at 6:47 AM jesus fernandez <[hidden email]> wrote:
I have noticed that as well, my question is why is not indexing any files... I do not find why, I have tried with the sonar-project.properties in the root folder and adding the arguments with -D, I have tried in 3 different projects and I always get the same result. 

El jueves, 12 de noviembre de 2020 a las 11:58:07 UTC+1, [hidden email] escribió:
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the basics of sonarqube, I have set it up on my jenkins pipeline (which uses MSBuild to compile the project) and the set a step to execute SonarQube but after reading and watching a few tutorials and the documentation itself I think I got a bit lost as when my pipeline finishes executing I go to my SonarQube server and I my project says ```The main branch has no lines of code.```. I get the following log when running the sonarqube step on my jenkins:
```
00:10:43.369  Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] bat
00:10:43.653  
00:10:43.653  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat   
00:10:43.653  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:43.653  INFO: Project root configuration file: NONE
00:10:43.653  INFO: SonarScanner 4.4.0.2170
00:10:43.653  INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:10:43.653  INFO: Windows 10 10.0 amd64
00:10:44.230  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.230  INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:10:44.230  INFO: Project root configuration file: NONE
00:10:44.230  INFO: Analyzing on SonarQube server 8.5.1
00:10:44.230  INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:10:44.783  WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:10:44.784  INFO: Load global settings
00:10:44.784  INFO: Load global settings (done) | time=40ms
00:10:44.784  INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:10:44.784  INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:10:44.784  INFO: Load/download plugins
00:10:44.784  INFO: Load plugins index
00:10:44.784  INFO: Load plugins index (done) | time=26ms
00:10:44.784  INFO: Load/download plugins (done) | time=48ms
00:10:45.037  INFO: Process project properties
00:10:45.037  INFO: Process project properties (done) | time=6ms
00:10:45.037  INFO: Execute project builders
00:10:45.037  INFO: Execute project builders (done) | time=1ms
00:10:45.037  INFO: Project key: Boston
00:10:45.037  INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:10:45.037  INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:10:45.301  INFO: Load project settings for component key: 'Boston'
00:10:45.301  INFO: Load project settings for component key: 'Boston' (done) | time=10ms
00:10:45.301  INFO: Load quality profiles
00:10:45.301  INFO: Load quality profiles (done) | time=27ms
00:10:45.301  INFO: Auto-configuring with CI 'Jenkins'
00:10:45.301  INFO: Load active rules
00:10:46.241  INFO: Load active rules (done) | time=787ms
00:10:46.241  INFO: Indexing files...
00:10:46.241  INFO: Project configuration:
00:10:46.241  INFO: 0 files indexed
00:10:46.241  INFO: ------------- Run sensors on module Boston
00:10:46.241  INFO: Load metrics repository
00:10:46.241  INFO: Load metrics repository (done) | time=12ms
00:10:46.807  INFO: Sensor CSS Rules [cssfamily]
00:10:46.807  INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:10:46.807  INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms
00:10:46.807  INFO: Sensor C# Properties [csharp]
00:10:46.807  INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:10:46.807  INFO: Sensor JavaXmlSensor [java]
00:10:46.807  INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet]
00:10:46.807  INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
00:10:46.807  INFO: ------------- Run sensors on project
00:10:46.807  INFO: Sensor Zero Coverage Sensor
00:10:46.807  INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:10:46.807  INFO: SCM Publisher is disabled
00:10:46.807  INFO: CPD Executor Calculating CPD for 0 files
00:10:46.807  INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:10:46.807  INFO: Analysis report generated in 48ms, dir size=82 KB
00:10:46.807  INFO: Analysis report compressed in 10ms, zip size=10 KB
00:10:47.060  INFO: Analysis report uploaded in 26ms
00:10:47.060  INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Boston
00:10:47.060  INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:10:47.060  INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXWt8eSC9o0F9NdVJGJP
00:10:47.060  INFO: Executing post-job 'Final report'
00:10:47.060  INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...).
00:10:47.060  INFO: Analysis total time: 2.118 s
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: EXECUTION SUCCESS
00:10:47.060  INFO: ------------------------------------------------------------------------
00:10:47.060  INFO: Total time: 3.274s
00:10:47.060  INFO: Final Memory: 21M/549M
00:10:47.060  INFO: ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
```
and I think the main issue is the line where it says ```Project root configuration file: NONE``` I have created a sonar-project.properties file in the root folder of my project and it has the following configuration:
```
sonar.projectKey=Boston
sonar.projectName=Boston
sonar.dotnet.visualStudio.solution=Age3DE.sln
sonar.scm.disabled=true

sonar.sources=./Source
sonar.language=c++
sonar.sourceEncoding=UTF-8

```
But yet I cannot make it work. I do not know what I am doing wrong, should the sonar-project.properties be set anywhere else?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f3de3b3c-9ed6-4d8e-b2cb-875ee40db8edn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d14cfeb9-fea0-4434-8034-f10fea7b927fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VozS_okxTCqR%3DMQGu_%2BPdyfP9%2BN-Z%3DaFyyLjthTKJ34hA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5bdea1e5-2e27-47d3-9717-4be016238efen%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SNkp_EATDqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e4c5890d-666b-436d-845c-dc063d3210d7n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

jesus fernandez
hmmmm it seems images did not get uploaded. This is the project:
project.png


and this is the code of the sonar-project.properties:
```
sonar.projectKey=Test
sonar.projectName=Test
sonar.dotnet.visualStudio.solution=WindowsProject1.sln
sonar.scm.disabled=true

sonar.sources=C:\\Users\\anton\\source\\repos\\WindowsProject1
sonar.language=c++
sonar.sourceEncoding=UTF-8

```

I have tried with the sonar.sources like that or with "." it both works when running sonar-scanner.bat from the cmd. I have tried with and without spaces after the -D and makes no difference, but I will leave it with no spaces to make sure

El jueves, 12 de noviembre de 2020 a las 16:20:20 UTC+1, [hidden email] escribió:
Your response doesn't show anything for the "test project folder" or "sonar-project.properties".

Your command line here is again using a space after "-D", so that likely will not work.

On Thursday, November 12, 2020 at 7:17:31 AM UTC-8 [hidden email] wrote:
Firt of all thanks a lot for taking your time to help me, is rellay aprecciated. That is my test project folder:  

 and this is my sonar-project.properties:


I have also noticed that in Global tool configuration there are 2 tools: "SonnarQube Scanner" and "SonarScanner for MSBuild" I have been using the latest, I changed to the "SonnarQube Scanner" to see if it worked and the I got this error message on the logs:
```
00:00:01.141 00:00:01.141 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.SonarRunnerInstallation\Sonar4\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
00:00:01.141 The system cannot find the specified path  
```

Could this be related? I understand for C++ projects I have to use the SonarScanner for MSBuild....

Thanks again!
El jueves, 12 de noviembre de 2020 a las 15:55:15 UTC+1, [hidden email] escribió:
You would have to look at what directory you're running the scan from, what your "sonar.sources" property is set to, and what your project structure looks like.

Getting correct coverage data is certainly important, but you won't be able to get coverage data if you haven't found any source files.

On Thu, Nov 12, 2020 at 6:47 AM jesus fernandez <[hidden email]> wrote:
I have noticed that as well, my question is why is not indexing any files... I do not find why, I have tried with the sonar-project.properties in the root folder and adding the arguments with -D, I have tried in 3 different projects and I always get the same result. 

El jueves, 12 de noviembre de 2020 a las 11:58:07 UTC+1, [hidden email] escribió:
I would have a look here:
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed

Seems it is not finding any file to analyse...


On Thu, 12 Nov 2020 at 11:47, Richard Bywater <[hidden email]> wrote:
I think you've been chasing the wrong issue. The lack of a project root configuration file is normal if everything is configured elsewhere. As far as I can tell you are having issues with no code coverage?

>00:10:46.807  INFO: Sensor JaCoCo XML Report Importer [jacoco]
>00:10:46.807  INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
>00:10:46.807  INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer

This is probably what you should be looking at - ensuring that your build is output a jacocoTestRepo.xml into the right location. Note that older versions of Sonarqube used to use the Jacoco binary file but newer versions require you to have generated the XML output.

Richard.

On Thu, 12 Nov 2020 at 23:28, jesus fernandez <[hidden email]> wrote:
This is the huge log I get with -X parameter:



00:00:00.913  Injecting SonarQube environment variables using the configuration: SonarQube2
[Pipeline] {
[Pipeline] bat
00:00:01.203  
00:00:01.203  C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -X -Dsonar.projectKey=Test -Dsonar.projectName=Test -Dsonar.sources=. -Dsonar.scm.disabled=true -Dsonar.language=c++ -Dsonar.sourceEncoding=UTF-8 
00:00:01.203  11:26:40.422 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.203  11:26:40.426 INFO: Project root configuration file: NONE
00:00:01.203  11:26:40.438 INFO: SonarScanner 4.4.0.2170
00:00:01.203  11:26:40.438 INFO: Java 1.8.0_261 Oracle Corporation (64-bit)
00:00:01.203  11:26:40.438 INFO: Windows 10 10.0 amd64
00:00:01.467  11:26:40.533 DEBUG: keyStore is : 
00:00:01.467  11:26:40.533 DEBUG: keyStore type is : jks
00:00:01.467  11:26:40.533 DEBUG: keyStore provider is : 
00:00:01.467  11:26:40.533 DEBUG: init keystore
00:00:01.467  11:26:40.533 DEBUG: init keymanager of type SunX509
00:00:02.044  11:26:41.044 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.044  11:26:41.045 DEBUG: Create: C:\WINDOWS\system32\config\systemprofile\.sonar\cache\_tmp
00:00:02.044  11:26:41.047 DEBUG: Extract sonar-scanner-api-batch in temp...
00:00:02.044  11:26:41.051 DEBUG: Get bootstrap index...
00:00:02.044  11:26:41.051 DEBUG: Download: http://localhost:9000/batch/index
00:00:02.044  11:26:41.083 DEBUG: Get bootstrap completed
00:00:02.044  11:26:41.088 DEBUG: Create isolated classloader...
00:00:02.044  11:26:41.094 DEBUG: Start temp cleaning...
00:00:02.044  11:26:41.098 DEBUG: Temp cleaning done
00:00:02.044  11:26:41.098 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:02.044  11:26:41.099 INFO: Project root configuration file: NONE
00:00:02.044  11:26:41.099 DEBUG: Execution getVersion
00:00:02.044  11:26:41.101 INFO: Analyzing on SonarQube server 8.5.1
00:00:02.044  11:26:41.102 INFO: Default locale: "es_ES", source code encoding: "UTF-8"
00:00:02.044  11:26:41.102 DEBUG: Work directory: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.044  11:26:41.103 DEBUG: Execution execute
00:00:02.309  11:26:41.416 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x
00:00:02.309  11:26:41.417 DEBUG: Community 8.5.1.38104
00:00:02.309  11:26:41.483 INFO: Load global settings
00:00:02.309  11:26:41.507 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=22ms
00:00:02.309  11:26:41.523 INFO: Load global settings (done) | time=40ms
00:00:02.309  11:26:41.524 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK
00:00:02.309  11:26:41.526 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache
00:00:02.309  11:26:41.528 INFO: Load/download plugins
00:00:02.309  11:26:41.529 INFO: Load plugins index
00:00:02.309  11:26:41.535 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=6ms
00:00:02.309  11:26:41.555 INFO: Load plugins index (done) | time=26ms
00:00:02.309  11:26:41.580 INFO: Load/download plugins (done) | time=52ms
00:00:02.575  11:26:41.622 DEBUG: Plugins:
00:00:02.575  11:26:41.622 DEBUG:   * C++ (Community) 1.3.2.1853 (cxx)
00:00:02.575  11:26:41.622 DEBUG:   * Python Code Quality and Security 3.1.0.7619 (python)
00:00:02.575  11:26:41.622 DEBUG:   * CSS Code Quality and Security 1.3.1.1642 (cssfamily)
00:00:02.575  11:26:41.622 DEBUG:   * JaCoCo 1.1.0.898 (jacoco)
00:00:02.575  11:26:41.622 DEBUG:   * SonarGo 1.6.0.719 (go)
00:00:02.575  11:26:41.622 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
00:00:02.575  11:26:41.622 DEBUG:   * JavaScript/TypeScript Code Quality and Security 6.5.0.13383 (javascript)
00:00:02.575  11:26:41.622 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
00:00:02.575  11:26:41.622 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
00:00:02.575  11:26:41.623 DEBUG:   * C# Code Quality and Security 8.13.1.21947 (csharp)
00:00:02.575  11:26:41.623 DEBUG:   * Java Code Quality and Security 6.8.0.23379 (java)
00:00:02.575  11:26:41.623 DEBUG:   * SonarHTML 3.2.0.2082 (web)
00:00:02.575  11:26:41.623 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
00:00:02.575  11:26:41.623 DEBUG:   * SonarXML 2.0.1.2020 (xml)
00:00:02.575  11:26:41.623 DEBUG:   * PHP Code Quality and Security 3.9.0.6331 (php)
00:00:02.575  11:26:41.623 DEBUG:   * VB.NET Code Quality and Security 8.13.1.21947 (vbnet)
00:00:02.838  11:26:41.937 INFO: Process project properties
00:00:02.838  11:26:41.943 INFO: Process project properties (done) | time=6ms
00:00:02.838  11:26:41.943 INFO: Execute project builders
00:00:02.838  11:26:41.943 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
00:00:02.838  11:26:41.944 INFO: Execute project builders (done) | time=1ms
00:00:02.838  11:26:41.946 INFO: Project key: Test
00:00:02.838  11:26:41.947 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.947 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.947 DEBUG: Project global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:41.948 DEBUG: Creating module hierarchy
00:00:02.838  11:26:41.948 DEBUG:   Init module 'Test'
00:00:02.838  11:26:41.949 DEBUG:     Base dir: C:\Users\anton\.jenkins\workspace\Boston
00:00:02.838  11:26:41.949 DEBUG:     Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork
00:00:02.838  11:26:41.949 DEBUG:     Module global encoding: UTF-8, default locale: es_ES
00:00:02.838  11:26:42.032 INFO: Load project settings for component key: 'Test'
00:00:02.838  11:26:42.046 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=Test | time=14ms
00:00:02.838  11:26:42.046 INFO: Load project settings for component key: 'Test' (done) | time=14ms
00:00:02.838  11:26:42.071 DEBUG: Available languages:
00:00:02.838  11:26:42.071 DEBUG:   * C++ (Community) => "c++"
00:00:02.838  11:26:42.072 DEBUG:   * Python => "py"
00:00:02.838  11:26:42.072 DEBUG:   * CSS => "css"
00:00:02.838  11:26:42.072 DEBUG:   * Go => "go"
00:00:02.838  11:26:42.072 DEBUG:   * Kotlin => "kotlin"
00:00:02.838  11:26:42.072 DEBUG:   * JavaScript => "js"
00:00:02.838  11:26:42.072 DEBUG:   * TypeScript => "ts"
00:00:02.838  11:26:42.072 DEBUG:   * Ruby => "ruby"
00:00:02.838  11:26:42.072 DEBUG:   * Scala => "scala"
00:00:02.838  11:26:42.072 DEBUG:   * C# => "cs"
00:00:02.838  11:26:42.072 DEBUG:   * Java => "java"
00:00:02.838  11:26:42.072 DEBUG:   * HTML => "web"
00:00:02.838  11:26:42.072 DEBUG:   * JSP => "jsp"
00:00:02.838  11:26:42.072 DEBUG:   * Flex => "flex"
00:00:02.838  11:26:42.072 DEBUG:   * XML => "xml"
00:00:02.838  11:26:42.072 DEBUG:   * PHP => "php"
00:00:02.838  11:26:42.072 DEBUG:   * VB.NET => "vbnet"
00:00:02.838  11:26:42.076 INFO: Load quality profiles
00:00:02.838  11:26:42.097 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=Test | time=21ms
00:00:02.838  11:26:42.112 INFO: Load quality profiles (done) | time=36ms
00:00:02.838  11:26:42.118 INFO: Auto-configuring with CI 'Jenkins'
00:00:02.838  11:26:42.125 INFO: Load active rules
00:00:03.846  11:26:43.002 INFO: Load active rules (done) | time=877ms
00:00:03.846  11:26:43.005 DEBUG: SCM Step is disabled by configuration
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language C++ (Community) were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
00:00:03.846  11:26:43.030 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
00:00:03.846  11:26:43.031 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
00:00:03.846  11:26:43.032 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
00:00:03.846  11:26:43.034 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 DEBUG: Will ignore generated code
00:00:03.846  11:26:43.035 INFO: Indexing files...
00:00:03.846  11:26:43.035 INFO: Project configuration:
00:00:03.846  11:26:43.039 INFO: 0 files indexed
00:00:03.846  11:26:43.040 INFO: ------------- Run sensors on module Test
00:00:03.846  11:26:43.090 INFO: Load metrics repository
00:00:03.846  11:26:43.104 INFO: Load metrics repository (done) | time=13ms
00:00:04.783  11:26:43.776 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.776 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) SquidSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) RatsSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) CppCheckSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.777 DEBUG: 'C++ (Community) PCLintSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) DrMemorySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerGccSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) CxxCompilerVcSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.778 DEBUG: 'C++ (Community) VeraxxSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ValgrindSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangTidySensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ClangSASensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.779 DEBUG: 'C++ (Community) ExternalRulesSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'C++ (Community) CoverageSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Python Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.780 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.781 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.782 DEBUG: 'CSS Metrics' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'SonarGo' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
00:00:04.783  11:26:43.783 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.784 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.784 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.785 DEBUG: 'JavaScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.785 DEBUG: 'TypeScript analysis' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'JavaScript/TypeScript Coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.786 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
00:00:04.783  11:26:43.786 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.787 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
00:00:04.783  11:26:43.788 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Removed properties sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'HTML' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
00:00:04.783  11:26:43.788 DEBUG: 'XML Sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'PHP sensor' skipped because there is no related file in current project
00:00:04.783  11:26:43.789 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped because one of the required properties is missing
00:00:04.783  11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.791 DEBUG: Sensors : CSS Rules -> JaCoCo XML Report Importer -> C# Properties -> JavaXmlSensor -> VB.NET Properties
00:00:04.783  11:26:43.792 INFO: Sensor CSS Rules [cssfamily]
00:00:04.783  11:26:43.793 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
00:00:04.783  11:26:43.793 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:04.783  11:26:43.793 INFO: Sensor JaCoCo XML Report Importer [jacoco]
00:00:04.783  11:26:43.794 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
00:00:04.783  11:26:43.795 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
00:00:04.783  11:26:43.795 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
00:00:04.783  11:26:43.795 INFO: Sensor C# Properties [csharp]
00:00:04.783  11:26:43.795 DEBUG: Project 'Test': Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.796 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.796 INFO: Sensor C# Properties [csharp] (done) | time=1ms
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java]
00:00:04.783  11:26:43.796 INFO: Sensor JavaXmlSensor [java] (done) | time=0ms
00:00:04.783  11:26:43.796 INFO: Sensor VB.NET Properties [vbnet]
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': Property missing: 'sonar.vbnet.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.
00:00:04.783  11:26:43.797 DEBUG: Project 'Test': No Roslyn issues reports have been found.
00:00:04.783  11:26:43.797 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
00:00:04.783  11:26:43.800 INFO: ------------- Run sensors on project
00:00:04.783  11:26:43.808 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
00:00:04.783  11:26:43.808 DEBUG: 'C#' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.808 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.809 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
00:00:04.783  11:26:43.810 DEBUG: Sensors : Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor
00:00:04.783  11:26:43.810 INFO: Sensor Zero Coverage Sensor (done) | time=0ms
00:00:04.783  11:26:43.811 INFO: SCM Publisher is disabled
00:00:04.783  11:26:43.812 INFO: CPD Executor Calculating CPD for 0 files
00:00:04.783  11:26:43.812 INFO: CPD Executor CPD calculation finished (done) | time=0ms
00:00:04.783  11:26:43.865 INFO: Analysis report generated in 52ms, dir size=82 KB
00:00:04.783  11:26:43.876 INFO: Analysis report compressed in 11ms, zip size=10 KB
00:00:04.783  11:26:43.876 INFO: Analysis report generated in C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\scanner-report
00:00:04.783  11:26:43.876 DEBUG: Upload report
00:00:04.783  11:26:43.904 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Test&projectName=Test | time=27ms
00:00:04.783  11:26:43.905 INFO: Analysis report uploaded in 29ms
00:00:04.783  11:26:43.908 DEBUG: Report metadata written to C:\Users\anton\.jenkins\workspace\Boston\.scannerwork\report-task.txt
00:00:04.783  11:26:43.908 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test
00:00:04.783  11:26:43.908 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
00:00:04.783  11:26:43.908 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW7_kI9-biCFHpn-C-1
00:00:04.784  11:26:43.910 DEBUG: Post-jobs : Final report
00:00:04.784  11:26:43.910 INFO: Executing post-job 'Final report'
00:00:04.784  11:26:43.915 INFO: Analysis total time: 2.280 s
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.916 INFO: EXECUTION SUCCESS
00:00:04.784  11:26:43.916 INFO: ------------------------------------------------------------------------
00:00:04.784  11:26:43.917 INFO: Total time: 3.517s
00:00:04.784  11:26:43.989 INFO: Final Memory: 21M/542M
00:00:04.784  11:26:43.989 INFO: --------------------

El jueves, 12 de noviembre de 2020 a las 11:26:26 UTC+1, jesus fernandez escribió:
Thanks both for answering, David I have tried both with "-D" with and without spaces. Geoffroy I was running a 8++ version I just downloaded 7.9 but still the same. One question which might be silly (I had used SonarQuebe ever before) does the pipeline needs to pull from a SCM for sonarqube to test the code? I understood it is not necessary at the moment I am just building a c++ project in local and then running the sonarqube step. Is that correct?  

El jueves, 12 de noviembre de 2020 a las 9:51:20 UTC+1, [hidden email] escribió:
Hello

i would recommend to remove extra-spaces for "-D" options, this is incorrect syntax, and also enable debug mode (-X).

As you are providing information using the scanner option, maybe it is normal to see "Project root configuration file: NONE " log. Maybe setting sonar.projectBaseDir option could help...

Also, sonar-cxx plugin (if this is the one you are trying to use) is not compatible with SonarQube 8.X: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/SonarQube-compatibility-matrix

Regards

On Thu, 12 Nov 2020 at 01:00, David Karr <[hidden email]> wrote:
I have never seen the "-D" command-line option used with a space between the option and the provided value, and the documentation never shows that example.

On Wed, Nov 11, 2020 at 1:13 PM jesus fernandez <[hidden email]> wrote:
and this is the log:
```
00:00:00.901 Injecting SonarQube environment variables using the configuration: SonarQube2 [Pipeline] { [Pipeline] bat 
00:00:01.175 00:00:01.175 C:\Users\anton\.jenkins\workspace\Boston>C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8 
 00:00:01.175 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties
00:00:01.175 INFO: Project root configuration file: NONE 
00:00:01.175 INFO: SonarScanner 4.4.0.2170 
00:00:01.175 INFO: Java 1.8.0_261 Oracle Corporation (64-bit) 
00:00:01.175 INFO: Windows 10 10.0 amd64 
00:00:02.090 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.090 INFO: Scanner configuration file: C:\Users\anton\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\Sonnar_scanner\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 
00:00:02.090 INFO: Project root configuration file: NONE 
00:00:02.090 INFO: Analyzing on SonarQube server 8.5.1 
00:00:02.090 INFO: Default locale: "es_ES", source code encoding: "UTF-8" 
00:00:02.343 WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x 00:00:02.343 INFO: Load global settings 
00:00:02.343 INFO: Load global settings (done) | time=42ms 
00:00:02.343 INFO: Server id: BF41A1F2-AXWnoupqHjnRwWgEnmvK 
00:00:02.343 INFO: User cache: C:\WINDOWS\system32\config\systemprofile\.sonar\cache 
00:00:02.343 INFO: Load/download plugins 
00:00:02.343 INFO: Load plugins index 
00:00:02.343 INFO: Load plugins index (done) | time=26ms 
00:00:02.594 INFO: Load/download plugins (done) | time=50ms 
00:00:02.846 INFO: Process project properties 
00:00:02.846 INFO: Process project properties (done) | time=7ms 
00:00:02.846 INFO: Execute project builders 
00:00:02.846 INFO: Execute project builders (done) | time=1ms 
00:00:02.846 INFO: Project key: Test 
00:00:02.846 INFO: Base dir: C:\Users\anton\.jenkins\workspace\Boston 
00:00:02.846 INFO: Working dir: C:\Users\anton\.jenkins\workspace\Boston\.scannerwork 
00:00:03.097 INFO: Load project settings for component key: 'Test' 
00:00:03.097 INFO: Load project settings for component key: 'Test' (done) | time=9ms
00:00:03.097 INFO: Load quality profiles 
00:00:03.097 INFO: Load quality profiles (done) | time=38ms 
00:00:03.097 INFO: Auto-configuring with CI 'Jenkins' 
00:00:03.097 INFO: Load active rules 
00:00:04.011 INFO: Load active rules (done) | time=981ms 
00:00:04.263 INFO: Indexing files... 
00:00:04.263 INFO: Project configuration: 
00:00:04.263 INFO: 0 files indexed 
00:00:04.263 INFO: ------------- Run sensors on module Test 
00:00:04.263 INFO: Load metrics repository 
00:00:04.263 INFO: Load metrics repository (done) | time=13ms 
00:00:05.178 INFO: Sensor CSS Rules [cssfamily] 
00:00:05.178 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:00:05.178 INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] 
00:00:05.178 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 00:00:05.178 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:00:05.178 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 
00:00:05.178 INFO: Sensor C# Properties [csharp] 
00:00:05.178 INFO: Sensor C# Properties [csharp] (done) | time=2ms 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] 
00:00:05.178 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] 
00:00:05.178 INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 
00:00:05.178 INFO: ------------- Run sensors on project 
00:00:05.178 INFO: Sensor Zero Coverage Sensor 
00:00:05.178 INFO: Sensor Zero Coverage Sensor (done) | time=0ms 
00:00:05.178 INFO: SCM Publisher is disabled 
00:00:05.178 INFO: CPD Executor Calculating CPD for 0 files 
00:00:05.178 INFO: CPD Executor CPD calculation finished (done) | time=0ms 
00:00:05.178 INFO: Analysis report generated in 58ms, dir size=82 KB 
00:00:05.178 INFO: Analysis report compressed in 14ms, zip size=10 KB 
00:00:05.178 INFO: Analysis report uploaded in 25ms 
00:00:05.178 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Test 00:00:05.178 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 
00:00:05.178 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXW4OGqF0bymGINu8Ui8 
00:00:05.178 INFO: Executing post-job 'Final report'
00:00:05.178 INFO: Turn debug info on to get more details (sonar-scanner -X -Dsonar.verbose=true ...). 
00:00:05.178 INFO: Analysis total time: 2.676 s 
00:00:05.178 INFO: ------------------------------------------------------------------------ 
00:00:05.178 INFO: EXECUTION SUCCESS 
00:00:05.178 INFO: ------------------------------------------------------------------------
00:00:05.178 INFO: Total time: 4.015s 
00:00:05.178 INFO: Final Memory: 24M/545M 
00:00:05.178 INFO: ------------------------------------------------------------------------  
```
But then on the SonarQube UI it says: "The main branch has no lines of code." even though on activity I can see the task has been executed each time I run the pipeline
El miércoles, 11 de noviembre de 2020 a las 22:09:21 UTC+1, jesus fernandez escribió:
Thanks Geofrroy for your answer,

I had posted the question in the sonarsource community with no answer already. I am using the free version with the C++ plugin which works fine in many tutorials and videos you can find online. This is my pipeline:
```
pipeline
{   
    agent any
    
    options { timestamps () }
    stages{
        
        stage('Build'){
            steps{
                retry(2){
                    script {
                        bat """
                            "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe" "C:\\Users\\anton\\source\\repos\\WindowsProject1\\WindowsProject1.sln"
                        """
                    } 
                }
            }
        }
        
      stage('SonarQube analysis') {
            steps{
                script{
                    def scannerHome = tool 'Sonnar_scanner'
                    withSonarQubeEnv('SonarQube2') {
                        bat """
                            ${scannerHome}\\sonar-scanner-4.4.0.2170\\bin\\sonar-scanner.bat -D sonar.projectKey=Test -D sonar.projectName=Test -D sonar.sources=. -D sonar.scm.disabled=true -D sonar.language=c++ -D sonar.sourceEncoding=UTF-8
                        """
                    }
                }
            }
        }
    }
}

```

Thanks!

El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, [hidden email] escribió:
Hello
you should probably ask here: https://community.sonarsource.com/ 
Are you using the paid version of SonarQube, to get C/C++ analysis feature?
Also, from experience, before running any new tool analysis from Jenkins, it is better to first run (and debug) it locally. Sonar scanner local analysis is quite easy to execute, it could help you troubleshoot your issue.
Last, please post your pipeline code so we can check you are properly running the analysis from the source folder actually containing the sonar properties file
Regards

On Wednesday, 11 November 2020 at 17:29:54 UTC+1 [hidden email] wrote:
Hi David,

Thanks for your answer but I get the same result when adding the parameters with -D I get the "00:00:01.529 INFO: Project root configuration file: NONE"  message at the beginning of the log. I have tried to create the helloworld simplest c++ project just to test, but I get the same error, what am I missing?
El martes, 10 de noviembre de 2020 a las 20:41:32 UTC+1, [hidden email] escribió:
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D".

On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <[hidden email]> wrote:
I am trying to learn the bas