Successful analysis, empty project

Actually this is my sonar-scanner.bat file he show execution is success but not showing anything in snoarqube page
Here is my file could you check where i am wrong

C:\Sonar\sonar-scanner-msbuild-4.7.1.2311-netcoreapp2.0\sonar-scanner-
16:12:21.543 INFO: No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
16:12:21.545 INFO: Calculating CPD for 0 files
16:12:21.545 INFO: CPD calculation finished
16:12:21.688 INFO: Analysis report generated in 139ms, dir size=73 KB
16:12:21.715 INFO: Analysis report compressed in 26ms, zip size=10 KB
16:12:21.715 INFO: Analysis report generated in C:\Sonar\sonar-scanner-msbuild-4.7.1.2311-netcoreapp2.0\sonar-scanner-4.1.0.1829\bin.scannerwork\scanner-report
16:12:21.716 DEBUG: Upload report
16:12:21.787 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=DemoWebApplicationDataBase&projectName=DemoWebApplicationDataBase | time=70ms
16:12:21.796 INFO: Analysis report uploaded in 80ms
16:12:21.797 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=DemoWebApplicationDataBase
16:12:21.798 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
16:12:21.800 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AW7LWpW-mstx3gHUV4n0
16:12:21.805 DEBUG: Report metadata written to C:\Sonar\sonar-scanner-msbuild-4.7.1.2311-netcoreapp2.0\sonar-scanner-4.1.0.1829\bin.scannerwork\report-task.txt
16:12:21.811 DEBUG: Post-jobs :
16:12:21.818 INFO: Analysis total time: 4.589 s
16:12:21.822 INFO: ------------------------------------------------------------------------
16:12:21.823 INFO: EXECUTION SUCCESS
16:12:21.824 INFO: ------------------------------------------------------------------------
16:12:21.826 INFO: Total time: 5.815s
16:12:21.864 INFO: Final Memory: 6M/30M
16:12:21.865 INFO: ------------------------------------------------------------------------

C:\Sonar\sonar-scanner-msbuild-4.7.1.2311-netcoreapp2.0\sonar-scanner-4.1.0.1829\bin>

and here is also show the No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
15:34:02.151 INFO: Calculating CPD for 0 files

this my snoarqube page like

AdoNetConsoleApplication

Passed

Last analysis: December 3, 2019, 10:57 AM

The main branch of this project is empty.

and this one is my sonar-scanner propretiese file

onar.java.command=/path/to/my/jdk/bin/java

sonar.java.command=C:/jdk-11.0.5/bin/java

sonar.projectKey=DemoWebApplicationDataBase

sonar.projectName=DemoWebApplicationDataBase

sonar.projectVersion=1.0

sonar.ProjectBasedir=C:\Users\vikash.kumar1\source\repos\DemoWebApplicationDataBase\DemoWebApplicationDataBase\WebControls.aspx.cs

sonar.scm.provider.disabled=true

sonar.scm.enabled=true

sonar.verbose=true

pleasecould you help me i stuck herestrong text

could you help me please

Hi,

Welcome to the community!

You should know that most people who help out here do so as a sideline or a hobby. :slightly_smiling_face:

You seem to have posted only the end of your analysis log. How about the whole thing, code-formatted (``` on the line before and on the line after)? Also, what language(s) are we talking about?

 
Ann

Sorry Ann
when I am posting the message that time show you are new user can not post more than 6 lines at that time I post only few lines.
i will share with execution file could you check where I am wrong

Microsoft Windows [Version 10.0.17134.1130]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46>SonarScanner.MSBuild.exe begin /k:"UserDataBaseDetails" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="admin" /d:sonar.password="admin"
SonarScanner for MSBuild 4.6.2
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
16:11:43.781  Updating build integration targets...
16:11:43.826  Fetching analysis configuration settings...
16:11:45.813  Provisioning analyzer assemblies for cs...
16:11:45.815  Installing required Roslyn analyzers...
16:11:47.07  Provisioning analyzer assemblies for vbnet...
16:11:47.072  Installing required Roslyn analyzers...
16:11:47.107  Pre-processing succeeded.
-------------------------------------------------------------------------------------------------------------------
C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46>SonarScanner.MSBuild.exe end /d:sonar.login="admin" 'd:sonar.password="admin"
SonarScanner for MSBuild 4.6.2
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
16:30:51.259  SonarQube analysis could not be completed because the analysis configuration file could not be found: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\.sonarqube\conf\SonarQubeAnalysisConfig.xml.
16:30:51.262  Post-processing failed. Exit code: 1
-------------------------------------------------------------------------------------------------------------------
Microsoft Windows [Version 10.0.17134.1130]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin>sonar-scanner.bat
INFO: Scanner configuration file: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: NONE
16:47:13.131 INFO: SonarQube Scanner 3.3.0.1492
16:47:13.133 INFO: Java 11.0.5 Oracle Corporation (64-bit)
16:47:13.133 INFO: Windows 10 10.0 amd64
16:47:13.262 DEBUG: keyStore is :
16:47:13.263 DEBUG: keyStore type is : pkcs12
16:47:13.263 DEBUG: keyStore provider is :
16:47:13.263 DEBUG: init keystore
16:47:13.263 DEBUG: init keymanager of type SunX509
16:47:13.503 DEBUG: Create: C:\Users\vikash.kumar1\.sonar\cache
16:47:13.505 INFO: User cache: C:\Users\vikash.kumar1\.sonar\cache
16:47:13.506 DEBUG: Create: C:\Users\vikash.kumar1\.sonar\cache\_tmp
16:47:13.511 DEBUG: Extract sonar-scanner-api-batch in temp...
16:47:13.521 DEBUG: Get bootstrap index...
16:47:13.522 DEBUG: Download: http://localhost:9000/batch/index
16:47:13.571 DEBUG: Get bootstrap completed
16:47:13.582 DEBUG: Create isolated classloader...
16:47:13.589 DEBUG: Start temp cleaning...
16:47:13.594 DEBUG: Temp cleaning done
16:47:13.595 DEBUG: Execution getVersion
16:47:13.602 INFO: SonarQube server 8.0.0
16:47:13.603 INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
16:47:13.603 DEBUG: Work directory: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\.scannerwork
16:47:13.605 DEBUG: Execution execute
16:47:13.864 DEBUG: Community 8.0.0.29455
16:47:13.956 INFO: Load global settings
16:47:13.993 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=35ms
16:47:14.021 INFO: Load global settings (done) | time=65ms
16:47:14.023 INFO: Server id: BF41A1F2-AW7PSQS5Qv_jZmBGkhoT
16:47:14.026 INFO: User cache: C:\Users\vikash.kumar1\.sonar\cache
16:47:14.030 INFO: Load/download plugins
16:47:14.031 INFO: Load plugins index
16:47:14.044 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=13ms
16:47:14.081 INFO: Load plugins index (done) | time=50ms
16:47:14.181 INFO: Load/download plugins (done) | time=151ms
16:47:14.414 DEBUG: Plugins:
16:47:14.415 DEBUG:   * SonarPython 1.16.0.4432 (python)
16:47:14.416 DEBUG:   * SonarCSS 1.1.1.1010 (cssfamily)
16:47:14.417 DEBUG:   * JaCoCo 1.0.2.475 (jacoco)
16:47:14.418 DEBUG:   * SonarGo 1.6.0.719 (go)
16:47:14.419 DEBUG:   * SonarKotlin 1.5.0.315 (kotlin)
16:47:14.420 DEBUG:   * Svn 1.9.0.1295 (scmsvn)
16:47:14.421 DEBUG:   * SonarJS 5.2.1.7778 (javascript)
16:47:14.422 DEBUG:   * SonarRuby 1.5.0.315 (ruby)
16:47:14.425 DEBUG:   * SonarScala 1.5.0.315 (sonarscala)
16:47:14.427 DEBUG:   * SonarC# 7.17.0.9346 (csharp)
16:47:14.428 DEBUG:   * SonarJava 5.14.0.18788 (java)
16:47:14.429 DEBUG:   * SonarHTML 3.2.0.2082 (web)
16:47:14.430 DEBUG:   * Git 1.9.1.1834 (scmgit)
16:47:14.431 DEBUG:   * SonarFlex 2.5.1.1831 (flex)
16:47:14.432 DEBUG:   * SonarXML 2.0.1.2020 (xml)
16:47:14.433 DEBUG:   * SonarPHP 3.2.0.4868 (php)
16:47:14.436 DEBUG:   * SonarTS 1.9.0.3766 (typescript)
16:47:14.437 DEBUG:   * SonarVB 7.17.0.9346 (vbnet)
16:47:16.090 INFO: Process project properties
16:47:16.093 INFO: Process project properties (done) | time=2ms
16:47:16.093 INFO: Execute project builders
16:47:16.094 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
16:47:16.096 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
16:47:16.099 INFO: Execute project builders (done) | time=6ms
16:47:16.140 INFO: Project key: UserDataBaseDetails
16:47:16.141 INFO: Base dir: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin
16:47:16.142 INFO: Working dir: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\.scannerwork
16:47:16.143 DEBUG: Project global encoding: windows-1252, default locale: en_US
16:47:16.163 DEBUG: Creating module hierarchy
16:47:16.164 DEBUG:   Init module 'UserDataBaseDetails'
16:47:16.167 DEBUG:     Base dir: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin
16:47:16.167 DEBUG:     Working dir: C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\.scannerwork
16:47:16.168 DEBUG:     Module global encoding: windows-1252, default locale: en_US
16:47:16.233 INFO: Load project settings for component key: 'UserDataBaseDetails'
16:47:16.259 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf?component=UserDataBaseDetails | time=25ms
16:47:16.261 INFO: Load project settings for component key: 'UserDataBaseDetails' (done) | time=28ms
16:47:16.286 DEBUG: Available languages:
16:47:16.287 DEBUG:   * Python => "py"
16:47:16.287 DEBUG:   * CSS => "css"
16:47:16.288 DEBUG:   * Go => "go"
16:47:16.288 DEBUG:   * Kotlin => "kotlin"
16:47:16.289 DEBUG:   * JavaScript => "js"
16:47:16.289 DEBUG:   * Ruby => "ruby"
16:47:16.289 DEBUG:   * Scala => "scala"
16:47:16.290 DEBUG:   * C# => "cs"
16:47:16.290 DEBUG:   * Java => "java"
16:47:16.291 DEBUG:   * HTML => "web"
16:47:16.291 DEBUG:   * JSP => "jsp"
16:47:16.291 DEBUG:   * Flex => "flex"
16:47:16.292 DEBUG:   * XML => "xml"
16:47:16.292 DEBUG:   * PHP => "php"
16:47:16.293 DEBUG:   * TypeScript => "ts"
16:47:16.293 DEBUG:   * VB.NET => "vbnet"
16:47:16.298 INFO: Load quality profiles
16:47:16.320 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?projectKey=UserDataBaseDetails | time=19ms
16:47:16.451 INFO: Load quality profiles (done) | time=153ms
16:47:16.460 INFO: Load active rules
16:47:16.514 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSa6TQv_jZmBGkjBN&ps=500&p=1 | time=53ms
16:47:16.835 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSa--Qv_jZmBGkjCD&ps=500&p=1 | time=35ms
16:47:16.850 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbDBQv_jZmBGkjCi&ps=500&p=1 | time=10ms
16:47:16.889 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbIyQv_jZmBGkjD9&ps=500&p=1 | time=37ms
16:47:16.931 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbD0Qv_jZmBGkjDD&ps=500&p=1 | time=36ms
16:47:17.011 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbRkQv_jZmBGkjKZ&ps=500&p=1 | time=73ms
16:47:17.080 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbVPQv_jZmBGkjMy&ps=500&p=1 | time=59ms
16:47:17.118 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbY4Qv_jZmBGkjOE&ps=500&p=1 | time=32ms
16:47:17.275 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbdcQv_jZmBGkjSU&ps=500&p=1 | time=152ms
16:47:17.538 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbmRQv_jZmBGkjcN&ps=500&p=1 | time=242ms
16:47:17.584 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSbvxQv_jZmBGkjiy&ps=500&p=1 | time=31ms
16:47:17.662 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSb4kQv_jZmBGkjkK&ps=500&p=1 | time=76ms
16:47:17.685 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSb1lQv_jZmBGkjjU&ps=500&p=1 | time=20ms
16:47:17.765 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PSb80Qv_jZmBGkjmn&ps=500&p=1 | time=78ms
16:47:17.846 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PScJOQv_jZmBGkjrJ&ps=500&p=1 | time=71ms
16:47:17.993 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW7PScNcQv_jZmBGkjtm&ps=500&p=1 | time=144ms
16:47:18.009 INFO: Load active rules (done) | time=1549ms
16:47:18.139 WARN: SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
16:47:18.287 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
16:47:18.288 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
16:47:18.289 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
16:47:18.290 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
16:47:18.290 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
16:47:18.291 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
16:47:18.292 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
16:47:18.292 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
16:47:18.293 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
16:47:18.294 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
16:47:18.295 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
16:47:18.296 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
16:47:18.296 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
16:47:18.297 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
16:47:18.300 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
16:47:18.300 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
16:47:18.303 DEBUG: Will ignore generated code
16:47:18.304 DEBUG: Will ignore generated code
16:47:18.305 INFO: Indexing files...
16:47:18.306 INFO: Project configuration:
16:47:18.336 DEBUG: 'sonar-scanner' indexed with language 'null'
16:47:18.338 DEBUG: 'sonar-scanner-debug' indexed with language 'null'
16:47:18.341 DEBUG: 'sonar-scanner-debug.bat' indexed with language 'null'
16:47:18.344 DEBUG: 'sonar-scanner.bat' indexed with language 'null'
16:47:18.345 INFO: 4 files indexed
16:47:18.346 INFO: ------------- Run sensors on module UserDataBaseDetails
16:47:18.846 INFO: Load metrics repository
16:47:18.857 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=11ms
16:47:18.897 INFO: Load metrics repository (done) | time=51ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/vikash.kumar1/.sonar/cache/866bb1adbf016ea515620f1aaa15ec53/sonar-javascript-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
16:47:21.162 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
16:47:21.163 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
16:47:21.164 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
16:47:21.164 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
16:47:21.165 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
16:47:21.165 DEBUG: 'PylintSensor' skipped because there is no related file in current project
16:47:21.166 DEBUG: 'PylintImportSensor' skipped because there is no related file in current project
16:47:21.167 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
16:47:21.167 DEBUG: 'SonarCSS Metrics' skipped because there is no related file in current project
16:47:21.168 DEBUG: 'SonarCSS Rules' skipped because there is no related file in current project
16:47:21.169 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
16:47:21.169 DEBUG: 'SonarGo' skipped because there is no related file in current project
16:47:21.171 DEBUG: 'Go Unit Test Report' skipped because there is no related file in current project
16:47:21.173 DEBUG: 'Go Cover sensor for Go coverage' skipped because one of the required properties is missing
16:47:21.174 DEBUG: 'Import of go vet issues' skipped because there is no related file in current project
16:47:21.175 DEBUG: 'Import of Golint issues' skipped because there is no related file in current project
16:47:21.175 DEBUG: 'Import of GoMetaLinter issues' skipped because there is no related file in current project
16:47:21.176 DEBUG: 'Import of GolangCI-Lint issues' skipped because there is no related file in current project
16:47:21.177 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
16:47:21.177 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
16:47:21.179 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
16:47:21.180 DEBUG: 'SonarJS' skipped because there is no related file in current project
16:47:21.181 DEBUG: 'ESLint-based SonarJS' skipped because there is no related file in current project
16:47:21.183 DEBUG: 'SonarJS Coverage' skipped because there is no related file in current project
16:47:21.184 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
16:47:21.184 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
16:47:21.185 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
16:47:21.185 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
16:47:21.186 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
16:47:21.186 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
16:47:21.187 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
16:47:21.188 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
16:47:21.189 DEBUG: 'C# Properties' skipped because there is no related file in current project
16:47:21.191 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
16:47:21.193 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
16:47:21.196 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
16:47:21.196 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
16:47:21.197 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
16:47:21.198 DEBUG: 'Flex' skipped because there is no related file in current project
16:47:21.199 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
16:47:21.200 DEBUG: 'XML Sensor' skipped because there is no related file in current project
16:47:21.201 DEBUG: 'PHP sensor' skipped because there is no related file in current project
16:47:21.203 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
16:47:21.203 DEBUG: 'SonarTS' skipped because there is no related file in current project
16:47:21.204 DEBUG: 'SonarTS Coverage' skipped because there is no related file in current project
16:47:21.205 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
16:47:21.205 DEBUG: 'VB.NET Properties' skipped because there is no related file in current project
16:47:21.208 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
16:47:21.209 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
16:47:21.210 DEBUG: 'C#' skipped because there is no related file in current project
16:47:21.213 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
16:47:21.214 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
16:47:21.215 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
16:47:21.215 DEBUG: 'VB.NET' skipped because there is no related file in current project
16:47:21.216 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
16:47:21.216 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
16:47:21.217 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
16:47:21.219 DEBUG: Sensors : JaCoCo XML Report Importer -> JavaXmlSensor -> HTML
16:47:21.220 INFO: Sensor JaCoCo XML Report Importer [jacoco]
16:47:21.229 DEBUG: No reports found
16:47:21.230 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=9ms
16:47:21.230 INFO: Sensor JavaXmlSensor [java]
16:47:21.234 INFO: Sensor JavaXmlSensor [java] (done) | time=4ms
16:47:21.234 INFO: Sensor HTML [web]
16:47:21.238 INFO: Sensor HTML [web] (done) | time=4ms
16:47:21.268 INFO: ------------- Run sensors on project
16:47:21.271 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
16:47:21.272 DEBUG: Sensors : Zero Coverage Sensor
16:47:21.272 INFO: Sensor Zero Coverage Sensor
16:47:21.314 INFO: Sensor Zero Coverage Sensor (done) | time=42ms
16:47:21.315 INFO: SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
16:47:21.351 INFO: CPD Executor Calculating CPD for 0 files
16:47:21.352 INFO: CPD Executor CPD calculation finished (done) | time=0ms
16:47:21.556 INFO: Analysis report generated in 201ms, dir size=74 KB
16:47:21.611 INFO: Analysis report compressed in 54ms, zip size=10 KB
16:47:21.612 INFO: Analysis report generated in C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\.scannerwork\scanner-report
16:47:21.612 DEBUG: Upload report
16:47:21.675 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=UserDataBaseDetails&projectName=UserDataBaseDetails | time=62ms
16:47:21.711 INFO: Analysis report uploaded in 99ms
16:47:21.712 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=UserDataBaseDetails
16:47:21.713 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
16:47:21.714 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AW7QoPx0Qv_jZmBGkjzE
16:47:21.717 DEBUG: Report metadata written to C:\Sonar\sonar-scanner-msbuild-4.6.2.2108-net46\sonar-scanner-3.3.0.1492\bin\.scannerwork\report-task.txt
16:47:21.719 DEBUG: Post-jobs :
16:47:21.745 INFO: Analysis total time: 7.234 s
16:47:21.757 INFO: ------------------------------------------------------------------------
16:47:21.759 INFO: EXECUTION SUCCESS
16:47:21.760 INFO: ------------------------------------------------------------------------
16:47:21.760 INFO: Total time: 8.683s
16:47:21.791 INFO: Final Memory: 6M/30M
16:47:21.792 INFO: ------------------------------------------------------------------------


could you help me last seven day i am doing same thing but not working .
Ann please help me

Hi,

Here’s your problem:

You’re running an MSBuild analysis. Apparently the scanner isn’t finding any source files to analyze. Are you actually dealing with an MSBuild-able project? I.E. what language(s) are you dealing with?

 
Ann

C#/Asp. Net

Hii Ann
Actually I mention in sonar-properties file

Hi,

sonar-project.properties isn’t considered by a Scanner for MSBuild analysis. It reads everything from your project files. If you need to override the automatically-detected values, you’ll need to do it on the command line. The docs for that scanner may be helpful.

 
Ann

Hi Vikash
What version of msbuild are you using?
In my case it gave me the same problem and the solution was to change the version from msbuild 14 to msbuild 15

at that time i am using msBuild 14 but now is working

A post was merged into an existing topic: Facing issue on Scanning C# code for Classic .net project through SonarQube

Great. Can you help me with my issue on sonarqube analysis.
My sonarqube job is successful, however I can’t see this project on sonar dashboard. Kindly check the logs here:
at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:123)
at org.sonarsource.scanner.cli.Main.execute(Main.java:77)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)

INFO: Saving results of complexity analysis
INFO: Sensor Lizard [backelitesonarswiftplugin] (done) | time=6ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
INFO: Performing issue tracking
INFO: 39/39 components tracked
INFO: Export issues to /opt/app/jenkins/home_prod/workspace/WexerOndemandSDK-Gerrit-CodeAnalysis/.scannerwork/sonar-report.json
INFO: ANALYSIS SUCCESSFUL
INFO: Task total time: 15.208 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 18.848s
INFO: Final Memory: 47M/318M
INFO: ------------------------------------------------------------------------

  • returnValue=0
  • set +x

There is no calculation of CPD also. Can you help here?

I am also facing same issue. can anyone help me to fix it?

Second issue is
INFO: CPD Executor Calculating CPD for 0 files

I am using sonar-scanner-cli:latest image in my gitlab CI pipleine
sonarqubetest:
image: sonarsource/sonar-scanner-cli:latest in my gitlab CI pipeline.
I can see INFO: 5 files indexed but scanner is not able to scan the files and I am getting blank report

@aashi, @Sachinkumar706 - please open new topics. We’re not monitoring topics that have already a solution.