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
0 answers
jenkins plugin for the sonarqube scanner is not working
I have install the plugin for the sonarqube in which i got scanner also so i configure the scanner and the server both for my project. In First stage of my pipeline I my trying to clone git repo and in the second stage i set the configuration for…
0
votes
1 answer
jenkins build failed due to sonarscanner
automatic configuration.
09:24:44 INFO: Load branch configuration (done) | time=1ms
09:24:44 INFO: Auto-configuring with CI 'Jenkins'
09:24:44 INFO: Load quality profiles
09:24:45 INFO: Load quality profiles (done) | time=350ms
09:24:45 INFO:…

John
- 1
- 2
0
votes
0 answers
How to disable post build options in sonarscanner
I want to disable post build options of sonar scanner, especially upload report step
How to do that?
Sonar scanner ver:4.3.0.2102

Divya
- 1
- 2
0
votes
0 answers
Setup SonarCloud with Github Action
I want to use SonarCloud to verify my CodeCoverage on GitHub, but there is a project stored together in my Repo. Two projects, each of which uses different tools (Swift and Java) for development.
I want to only check Swift Project,Here is the error…

RIPSM S
- 1
- 1
0
votes
0 answers
SonarScanner - post - processing fail
dotnet sonarscanner end /d:sonar.login="my-token"
SonarScanner for MSBuild 5.8
Using the .NET Core version of the Scanner for MSBuild
Post-processing started.
Calling the SonarScanner CLI...
Files\Common was unexpected at this time.
The…

Om Venugopal
- 1
- 2
0
votes
0 answers
Sonar scanner runs more sub-modules than needed
When I run sonar-scanner on C project, it analyzes my submodules, but it also includes a "parent" configuration. What I…

user1570891
- 87
- 9
0
votes
1 answer
How to include folders projects for sonar analysis which are not part of solution using sonar scanner for .net
How do I configure the sonar to include folders or projects which are not part of the current .net solution. I have the following structure my current project:
MyProject - Root Folder
ProjectA - Normal .net…

Hashmat Ali
- 1
- 3
0
votes
0 answers
I am trying to install sonarscanner for .net into my local VM, VM mention does not have any internet connections
I am using azure devops server, my end game is to scan a set of C# codes in my project's repo,
I am trying to install sonarscanner for .Net "sonar-scanner-msbuild-5.8.0.52797-net5.0.zip" which i downloaded from…
0
votes
0 answers
Error during SonarScanner execution in Mac OS for Swift language
I am trying to generate an report using Sonar Scanner in swift project.
I have SonarQube version: 9.2.4.50792 running on Mac OS Ventura 13.0.1
whenever I try to run these…

Aijaz.Ali90
- 23
- 4
0
votes
0 answers
The format of the analysis property sonar.login: is invalid SonarQube
I am trying to run sonarQube locally. And when I try to begin the analysis it shows the following error: The format of the analysis property sonar.login: is invalid
I copy pasted the token from http://localhost:9000 so it can't be invalid.…

SZT
- 1,771
- 4
- 26
- 53
0
votes
0 answers
sonarqube ERROR: Error during SonarScanner execution
getting error when trying to invoke scan
I can manually download the file fine as sudo and as well as non sudo so not sure what exactly is the issue.
my server is running as pod and I am running scanner command on macOS Catalina 10.15.7
any…

AhmFM
- 1,552
- 3
- 23
- 53
0
votes
0 answers
GithubAction SonarScanner MSBuild integration code build for .Net application
``
I am new to SonarScanner for MSBuild integration with Githubaction deployment I had been this issue and error logs
The project has not been built - the project must be built in between the begin
and end steps
An unsupported version of MSBuild…

Yanhe Adams
- 1
- 1
- 1
0
votes
0 answers
Error during Sonar Scanner execution running Tibco project
Must-share information (formatted with Markdown):
SonarQube (9.5.0.56709), Scanner (4.7.0.2747) Tibco project
Hello, When running Sonar on the latest accessible version (9.5) with Sonar Scanner version (4.7), I encountered the following error:
enter…

Allanwa
- 3
- 2
0
votes
0 answers
SonarScanner error when executing in GitHub Actions
When I execute the following job in Github Action
name: Build
on:
push:
branches:
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
-…

Roberto Teresa
- 55
- 3
0
votes
0 answers
Elasticsearch startup error during SonarQube setup
I am trying to setup Sonarqube in my Macbook but I am getting following error when I try to start it with sh sonar.sh console
sudo sh sonar.sh console
Password:
/usr/bin/java
Running SonarQube...
Removed stale pid file: ./SonarQube.pid
INFO …

pankaj
- 7,878
- 16
- 69
- 115