Questions tagged [sonarqube-web]
232 questions
0
votes
0 answers
SonarQube 6.7 LTS administration permissions changed
We are currently on SonarQube 6.1 instance and are trying to migrate to 6.7 LTS. On the current instance we have several projects on boarded. We've upgraded one of our test environments to 6.7 version by restoring our Production DB onto test…

sandeep manthri
- 81
- 8
0
votes
1 answer
How to customize and turn off sonar rule in SonarQube extension for VS code
I am using SonarQube extension for VS code which enable me to write non-bugy and quality code. but some of the sonar rules not applicable for my code like:- we are using file naming convention "*-component" postfix with each file.
severity:…

Sandeep vashisth
- 1,040
- 7
- 20
- 40
0
votes
1 answer
SonarQube/SonarWeb - Can it scan dynamic HTML generated from a page?
I want to check if SonarQube provides capability to scan HTML generated from web pages through SonarWeb or any other plugin?
TIA.

Ashish
- 1
- 2
0
votes
0 answers
SonarQube bulk update gives error 502
We have several customer projects hosted on our sonarqube instance and couple of project teams reported issues while using bulk update feature. When tried to update 10+ issues for 2+ fields they get a 502 issue. I tried this on our dev instance and…

sandeep manthri
- 81
- 8
0
votes
1 answer
SonarQube web api: retrieving number of "won't fix" issues on TimeMachine API
I would like to retrieve the number of "false positives" and "won't fix" a project has along the time, so I am using the TimeMachine API.
I am able to list the "false positives", but not the "won't fix", using below…

Quaestor Lucem
- 607
- 9
- 21
0
votes
1 answer
SonarQube Web Api Changes from 6.0 to 6.4
I was using "http://sonarserver:9000/api/resources?metrics=ncloc,bugs,vulnerabilities" to get the details of all the projects for sonar 6.0.
After upgrading to 6.4 this url does not work and I am not able to find the alternative for this under the…

Manas
- 177
- 3
- 13
0
votes
1 answer
How to get reuse lines of code using SonarQube API
Is it possible to use the API to get sum of reused lines of code? Please advise.
Additional info:
Reused LOC = number of lines of code from initial baseline (before start of evolution on Project independent of later deletion of code)
Deleted LOC…
user5326167
0
votes
0 answers
How to get list of projects scanned in last day from Sonarqube v5.6.6 through WEB API?
I am trying to find which teams are using SonarQube frequently. Hence I want to get list of projects scanned in last day from Sonarqube v5.6.6 through WEB API.
I tried with api/measures/component_tree API. However I am not able to find string to…

Shailesh
- 1
- 7
0
votes
2 answers
Sonar build breaker for travis
I'm working on a continous integration cloud enviroment, using travis ci for server and sonarqube.com for static analysis. I wondering if there is a plugin/configuration for break the build process when some sonar threshold is triggered (like the…

mrcportillo
- 1
- 2
0
votes
1 answer
how to configure the "leak period" based on a custom measure
I'm using sonarqube 6.2. We increment version number on every build, and sonarqube analyzes every build.
Not every build goes into production environment, however.
I need to configure the leak period to compare the latest build against the latest…

Giovani S.
- 71
- 1
- 12
0
votes
0 answers
How to reference other field/matric with Quality gate
I would like to define a Quality gate such that allowed code smells would be 5 per 10000 lines of code. If it is greater than that then it should fail.
I referred this link https://docs.sonarqube.org/display/SONAR/Quality+Gates. I am able to create…

Atul Sureka
- 3,085
- 7
- 39
- 64
0
votes
1 answer
Adding a new language (like Java, Javascript etc) in Sonarqube server
I have 4 XML files(rule set) for languages Java, CSS, XML and WEB (one XML per language)
I was able to import the rules(XML file) for Java language but I dont see other three languages on Sonarqube server. How can I create a new language tab and…

user3845894
- 353
- 1
- 5
- 17
0
votes
1 answer
Blank screen after installation
I have installed Sonarqube with this howto: http://dev.mamikon.net/installing-sonarqube-on-ubuntu/. Also i have done all optional steps there.
But now, if i'm starting Sonarqube, a Browsertab with localhost:9000 results into a blank screen.
The…

Sascha Manns
- 2,331
- 2
- 14
- 21
0
votes
2 answers
How to add history widgets in SonarQube 6.2?
I was used to manage a project's history on sonarqube 5.2 by using a dashboard like this under "Dashboards -> Timeline". I can't find a way to replicate this on SonarQube 6.2. What is the correct way of adding history widgets under sonar 6.2 ?

Giovani S.
- 71
- 1
- 12
0
votes
2 answers
show unit test success/failure count in sonarqube
I'm using an asp.net MVC project with VSTS and Sonar (5.6.3).
My unit test coverage is showing up on my Sonar Dashboard.
However, I didn't find a way to display number of unit test passed/failed on the dashboard.
Any help?

Rabi
- 2,210
- 17
- 18