I am running analysis on my .net application using scanner for msbuild 4.3 , Sonarqube version i’m using is 6.7 and it’s having developer license .
Few days back, lines of code has crossed the available limit on my license so , i have deleted a project and now trying to run analysis on the same.
This application has mainly .vb ,.cs and .js files . I have skipped the .js using exclusion in settings .
But when i’m running analysis it’s showing issues only for .cs files and not .vb files .
And when i’m specifying sonar.language as ‘vbnet’ , it’s not showing any analysis report on dashboard.
Why is this happening , what should i do to get reports for .vb files ?
when i’m looking at quality profiles it’s showing vb as used , but when i see in project it’s showing project as ‘C#’ . I’m also attaching the cmd.
INFO: Base dir: C:\Users\Desktop\Development-1
INFO: Working dir: C:\Users\Desktop\Development-1.sonarqube\out.sonar
INFO: Source encoding: windows-1252, default locale: en_US
INFO: Index files
INFO: Excluded sources:
INFO: **/Scripts/.js
INFO: /Ms/
INFO: **/scripts/.js
INFO: 0 files indexed
INFO: 0 files ignored because of inclusion/exclusion patterns
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: Sensor Analyzer for “php.ini” files [php]
INFO: Sensor Analyzer for “php.ini” files [php] (done) | time=0ms
INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=0ms
INFO: Sensor [Deprecated] C# Integration Tests Coverage Report Import [csharp]
INFO: Sensor [Deprecated] C# Integration Tests Coverage Report Import [csharp] (done) | time=0ms
INFO: Sensor C# Unit Test Results Import [csharp]
INFO: Sensor C# Unit Test Results Import [csharp] (done) | time=0ms
INFO: Sensor VB.NET [vbnet]
INFO: Importing 9 Roslyn reports
INFO: Sensor VB.NET [vbnet] (done) | time=365ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=247ms
INFO: Sensor CPD Block Indexer
INFO: Sensor CPD Block Indexer (done) | time=1ms
INFO: No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
INFO: 1 file had no CPD blocks
INFO: Calculating CPD for 23 files
INFO: CPD calculation finished
INFO: Analysis report generated in 15215ms, dir size=5 MB
INFO: Analysis reports compressed in 2106ms, zip size=716 KB
INFO: Analysis report uploaded in 2363ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://sonarqube.##.com/commercial/dashboard/index/#sonarqube INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://sonarqube.##.com/commercial/api/ce/task?id=AWoRfzCHEQOlNkbr4pJQ
INFO: Task total time: 59.446 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:19.446s
INFO: Final Memory: 19M/254M
INFO: ------------------------------------------------------------------------
The SonarQube Scanner has finished
17:51:58.644 Creating a summary markdown file…
17:51:58.659 Analysis results: https://sonarqube.$$$$.com/commercial/dashboard/index/###
17:51:58.66 Post-processing succeeded.