Questions tagged [sonarqube-web]
232 questions
1
vote
1 answer
Is it possible to freeze a version in SonarQube's time machine?
Is it possible to freeze a version in SonarQube's time machine and make this snapshot always visible in the history chart? For example I have tagged a version in Git as v1.0 and I want this to be always in the chart so I can compare it with the…

highlander
- 41
- 1
- 5
1
vote
1 answer
'Open Issues' in Sonar Qube should exclude "INFO" Violations
Currently there is a RULE on the Quality Gate such that "Open Issues" should not be more than 50. But I want to exclude "INFO" Violations to be part of "Open Issues" for all projects of the quality Gate i.e. INFO issues should not be considered but…

user2608424
- 183
- 2
- 10
1
vote
1 answer
Is it possible to update add a tag to a SonarQube rule or issue from within a plugin?
I'd like to tag certain issues as related in SonarQube. The rules are defined in various different repositories including the out of the box Java one.
I can manually add tags to rules through the api and any issues created from them will inherit the…

henry
- 5,923
- 29
- 46
1
vote
1 answer
SonarQube won't refresh after deleted closed issues?
After configed "Delete closed issues after" and "Keep only one snapshot a day after" to 1 under "Settings > General Settings > General > Database Cleaner", and rerun analyze. The numbers under Issues are not correctly.
Is there a way to refresh or…

Kenneth
- 181
- 3
- 12
1
vote
1 answer
SonarQube Cycles broken?
My project is analysed by SonarQube for every VCS check-in and I have observed some strange behavior:
The dependency cycle-count changes to extremes every now and then.
When viewing the details (e.g. clicking the link) the old (smaller number)…

Alix
- 2,630
- 30
- 72
1
vote
1 answer
Chart missing in SonaQube 5.4 Time Machine
I upgraded our SonarQube server the other day from 5.3 to 5.4 after that some of the graphs in the Time Machine Dashboard stopped working. Any suggestions?
Se enclosed picture.
I get this in the log:
ERROR web[rails]…

Magnus Timner
- 51
- 1
- 5
1
vote
2 answers
Configure SonarQube 5.4 to do login via Google account
Is there a way to configure SonarQube v5.4 login via Google Account?
I tried the solution below, but without success.
https://github.com/SonarQubeCommunity/sonar-openid

Fabio Peruchi
- 127
- 1
- 8
1
vote
1 answer
New code coverage metrics not returning values from SonarQube 5.3 API
I need to fetch unit test coverage data for new code changes via the api. The metrics. I can see the data in SonarQubeDashboard but the api is not returning any values for the metrics like:
new_coverage
new_line_coverage
(etc)
I am invoking the…

Rohan
- 665
- 9
- 17
1
vote
1 answer
SonarQube how to create Profile and import new rules to it
I'm developing a plugin to SonarQube in order to import rules from a .xml file. So far this is done and they really are imported into the SonarQube instance and shown under "Rules". Although the Quality Profile is being created, all the imported…

jonypera
- 446
- 2
- 13
- 23
0
votes
0 answers
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli)You're not authorized to run analysis
mvn -Dsonar.login= org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar
After execution of above command. Facing this issue
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on…
0
votes
0 answers
Update false positive rules on sonarqube
I have a problem with my sonarqube comunity edition in web rule:S4645. It is similar to this false positive
[https://community.sonarsource.com/t/false-positive-web-s4645-a-script-was-found-without-a-relating-opening-script-tag/75374][1]
According to…

Manu
- 81
- 1
- 3
0
votes
1 answer
Sonarqube failed to start DEBUG - Starting WinSW in console mode
I install SonarQube using comunity edition: https://www.sonarsource.com/products/sonarqube/downloads/
Unzip it in C:\sonarqube
Try start Server using C:\sonarqube\bin\windows-x86-64\StartSonar.bat
But I…

Настя
- 11
- 1
0
votes
0 answers
How to fetch NEW CODE COVERAGE % along with respective dates using SonarQube WEB API?
I am trying to fetch NEW CODE COVERAGE METRIC via Sonarqube WEB API but unable to find any endpoint which directly gives me the new code coverage along with its respective date.
I have tried metrics API but no luck. It doesnt give dates.

CodeNerd25
- 3
- 2
0
votes
0 answers
Add details to SonarQube Generic Issue Format
I am creating a tool that produces issues in the SonarQube generic format.
I followed the documentation here: https://docs.sonarqube.org/latest/analysis/generic-issue/ but I do not see any mention of detail
However, there is a detail panel in the…

Benoît Verhaeghe
- 612
- 1
- 6
- 21
0
votes
0 answers
Failed to running Sonarqube , and logs not helpful
I try running Sonarqube on my local machine (Win 11) , and if i execute this command in CommandPrompt
Terminal when i run the commands
nothing happens , and the logs is not helpful
2022-10-01 15:33:10,545 DEBUG - Starting WinSW in console…