Use this tag for questions about the SonarQube Scanner, the recommended default launcher to analyze a project with SonarQube.
Questions tagged [sonarscanner]
195 questions
0
votes
1 answer
Configure sonarqube scanner to run as a step in cloud build on cloud source repository
I've installed sonarqube bitnami instance and manually installed sonar-scanner looking for a way to trigger the scan from cloud build, Is there a way I can reference this sonarqube VM instance in my cloudbuild.yaml (Don't want to use docker)
Like…

Rehan
- 408
- 1
- 6
- 17
0
votes
0 answers
Trouble getting Sonarqube to work with Jenkins. Throws "could not find 'java' executable in JAVA_HOME or PATH"
Hi I am trying to get Sonarqube to work with Jenkins. I have jenkins running as a docker image and Sonarqube server running as two separate docker images on my host machine. I am using the SonarScanner plugin for Jenkins to scan my project. However,…

mnsupreme
- 125
- 1
- 6
0
votes
1 answer
SonarQube not showing output
I have a Kotlin project that I'm trying to analyse using SonarQube but I'm not getting any output on SonarQube after running the analyses using sonar-scanner.
Here is what my sonar-scanner.properties file looks…

Ahmad Shah
- 199
- 4
- 14
0
votes
0 answers
SonarQube Coverage for the unit testing project is 0
I have used SonarQube for the code quality of the project written in c# Visual Studio.
The solution in the Visual Studio has Two Projects (Employee and TestEmployee). Employee is the web API project and TestEmployee is the unit testing for the…

Rana
- 53
- 1
- 8
0
votes
2 answers
SonarQube Analysis is only supported with msbuild 14 or msbuild 15
When I am trying to run below commandsfor my dotnet code(version 2.2)
dotnet sonarscanner begin /k:"project-key"
dotnet build
dotnet sonarscanner end
I am getting (SonarQube Analysis is only supported with msbuild 14 or…

Rashmi Jain
- 1,385
- 12
- 18
0
votes
1 answer
The dotnet sonarscanner is running a node command for some reason and throwing "Failure during analysis, Node.js command to start eslint-bridge"
I'm getting a non fatal exception while running the dotnet sonarscanner utility to send data to our sonarqube instance.
During "dotnet sonarscanner end" command an exception is being thrown of "Failure during analysis, Node.js command to start…

OptionallyNone
- 11
- 4
0
votes
1 answer
Scanning gradle Hello world project in Jenkins Pipeline
I am fairly new with jenkins and sonar scanner. I have created a simple hello world gradle project in Intellij. After that was done, i added the Jenkinsfile to the root folder of the project and started working on it. When i try to build it in…

MatiasN
- 145
- 1
- 3
- 13
0
votes
0 answers
Unable to execute sonarqube scanner with jenkins
I am unable to execute the sonarqube scanner with Jenkins pipeline script.
sonarqube scanner version : 3.3.0
Please suggest.
stage('SonarQube analysis 3') {
steps {
withSonarQubeEnv('sonarqube') {
echo "${SONAR_HOST_URL}"
sh…

Abhishek Mahapatra
- 51
- 1
- 2
- 10
0
votes
1 answer
Travis CI SonarCloud - How to choose what quality profile to be enabled?
From the Job log it looks like Travis enable all Sonar way that is available
...
INFO: Quality profile for css: Sonar way
INFO: Quality profile for java: Sonar way
INFO: Quality profile for js: Sonar way
INFO: Quality profile for ruby: Sonar…

William Notowidagdo
- 611
- 7
- 19
0
votes
0 answers
The problems scanned by sonar scanner are much less than those scanned by soanr: soanr
The problems scanned by sonar scanner are much less than those scanned by soanr: soanr
I use sonar scanner and soanr: sonar commands through the same jenkins, but their results are different.
This is my sonar scanner…
0
votes
0 answers
Error during SonarQube Scanner execution java.lang.StackOverflowError
I'm using sonar 7.7 and at the time of scanning to a php project I get the error below.
ERROR: Error during SonarQube Scanner execution
java.lang.StackOverflowError
at…

Alejandro Herrera
- 411
- 1
- 5
- 22
0
votes
1 answer
Why SonarQube exclusions are not applied to additional extensions specified in sonar.javascript.file.suffixes?
In my sonar-project.properties file I have the following settings:
...
sonar.sources=src
sonar.exclusions=src/**/*.test.js
sonar.javascript.file.suffixes=js,jsx
However my build is failing with the following error:
ERROR: Caused by: Line 346 of…

rakitin
- 1,943
- 6
- 25
- 51
0
votes
1 answer
How To Configure SonarQube Dev Edition For a C++ RTP Application Project
I am developing a couple or C++ Real-Time Process Application projects for VxWorks 6.9 in Wind River Workbench 3.3. I wanted to integrate SonarQube developer edition to get static analysis results.
VxWorks compiles the app using the Wind River GCC…

esduran
- 101
- 1
- 4
0
votes
1 answer
We dont want to merge pull requests with a failed quality gate on TFS
used software:
SonarQube 7.6
nuget dotnet-sonarscanner
https://www.nuget.org/packages/dotnet-sonarscanner,
TFS on prem
We are using SonarQube and the dotnet-sonarscanner from nuget which works great.
Unfortunately, we are not able to get the…

aumanjoa
- 905
- 1
- 11
- 30
0
votes
1 answer
Python | Error during SonarQube Scanner execution | Line 3832 is out of range in the file .py
Below are my sonar.properties…

asur
- 1,759
- 7
- 38
- 81