Questions tagged [sonarscanner]

Use this tag for questions about the SonarQube Scanner, the recommended default launcher to analyze a project with SonarQube.

195 questions
0
votes
2 answers

Unable to use sonar-scanner with maven

I am new to SonarQube and SonarQube Scanner. I need to use these software for my existing maven project which I downloaded from svn. I changed the sonar-scanner property file according to my objectives. But when run sonar-scanner following error has…
iuhettiarachchi
  • 431
  • 1
  • 9
  • 24
0
votes
1 answer

Sonar : Fail to load plugin SonarPLSQL [plsql]

My SonarQube version is sonarqube-7.5 community edition. Sonar Scanner version is sonar-scanner-3.3.0.1492-windows I downloaded sonar-plsql-plugin-3.3.0.2273.jar and placed it in \sonarqube-7.5\extensions\plugins\ folder. My operating system is…
user2488578
  • 896
  • 4
  • 21
  • 40
0
votes
0 answers

Running Sonarqube giving me the following error

I am trying to build our c-sharp solution, and using dotcover for code coverage the following are the output generated. C:\Client\DEV\DEV_3.3.0\TEST> SonarScanner.MSBuild.exe begin /k:"Client-3.3.0" /n:"Client-3.3.0" /v:"2.0"…
murthi
  • 175
  • 1
  • 4
  • 18
0
votes
0 answers

Getting error while running SonarScannerMSBuild on Xamarin projects

1) When I Try to use Rebuild option MANOJs-MacBook-Air:UI_Testing2 manojdeshpande$ mono /Users/manojdeshpande/Downloads/sonar-scanner-msbuild-4.5.0.1761-net46/MSBuild.SonarQube.Runner.exe /t:Rebuild WARNING:…
Manoj Deshpande
  • 311
  • 2
  • 18
0
votes
1 answer

How to run multiple SonarQube analyses on the same project (workspace) at the same time?

I'm running a Jenkins Pipeline where a build is triggered when a merge request is submitted. The build runs and SonarQube analyses the workspace. Another merge requested is submitted simultaneously and the build runs, but SonarQube fails with the…
0
votes
1 answer

SonarQube analyses issue Line is out of range for

I am running a local instance of SonarQube and executed a Xamarin.Forms project using default SonarC# plugin analyzed using SonarQube Scanner for MSBuild. Below is the error i am getting: ERROR: Error during SonarQube Scanner execution ERROR: Line…
Arun Gupta
  • 2,628
  • 1
  • 20
  • 37
0
votes
1 answer

sonar scanner quality profile assignment using windows batch file

I'm trying to assign quality profile to a project created in Sonar qube using a batch script. It was working perfectly fine when using shell script in Unix curl -u : -X POST…
Leo
  • 868
  • 1
  • 13
  • 32
-1
votes
0 answers

SonarQube don't scan specific files

In sonarqube-10.1.0.73491 I need to scan specific files, but the result don't pass a scan in some file (img 1), I don't know why. The project is an ASP.NET with many solutions. The compile don't have errors. I try to use the…
-1
votes
2 answers

How to analyze C# and C++ projects using SonarQube in one pipeline build?

I have a project consists of 3 C++ sub projects and a C# main project, Below is my Yaml file to analyze it in azure pipeline using SonarQube. As you can see in the YAML file, I analyze all of 4 projects using configuration for c++, so how can I…
Ming
  • 379
  • 1
  • 6
  • 20
-1
votes
1 answer

Getting Error while Scanning a Java project in SonarScanner

ERROR: Error during SonarScanner execution org.sonar.java.AnalysisException: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property. …
-1
votes
1 answer

SonarQube server [https://sonar.example.org] can not be reached

In my situation, I have Jenkins with two nodes. One is acting as a master node, and the other nodes as a slave. Also, I have a separate instance for running on SonarQube. I have an internal Certificate Authority. I used it to sign my certificates.…
-1
votes
1 answer

Error during SonarScanner execution after executing SonarScanner end command

I am getting error during SonarScanner execution, while executing the third command: dotnet begin /k:"project-key" dotnet build dotnet end Below is the screen shot of the exception: ERROR: Error during SonarScanner execution INFO:…
Sauvik
  • 1
  • 1
-1
votes
1 answer

Configuring Sonarqube analysis in CI build in VSTS

I am trying to run sonarqube analysis on code commit itself . I have added 1) prepare analysis configuration and 2) run code analysis, tasks in CI build. But I am getting an error : " No agent found in pool mypool which satisfies the specified…
Raq
  • 433
  • 1
  • 7
  • 20
-1
votes
1 answer

Why am i getting Sonarqube 'License Corrupted' error?

I am getting 'License for vbnet is corrupted' error, while running analysis on vb.net project . Can you please help why am i getting this error ?
Raq
  • 433
  • 1
  • 7
  • 20
-2
votes
2 answers

delete and replace strings matching pattern in xml file

Team, I have an xml file that needs to be modified for a personal hack project. Need help how can I club all this in fewer operations. all below works on my mac but I need to see if I can club them into one line command. example for similar…
AhmFM
  • 1,552
  • 3
  • 23
  • 53
1 2 3
12
13