Questions tagged [sonarqube-web]

232 questions
0
votes
1 answer

SonarQube error: Component key length is longer than the maximum authorized

I have this error on SonarQube 6.1 Please note: I cannot shorten the projecy key, since I have no power over the organization's naming convention, our work is to mantain the platform. I am aware the name can be made short, but I am looking for a…
0
votes
2 answers

Configured SonarQube 6.1 on HTTPs using Apache but both HTTP and HTTPs works - Need only HTTPs

Recently I installed SonarQube 6.1 version and I used Apache to enable HTTPs, now i am able to connect to SonarQube using both the URL's below. Any idea how to disable the HTTP and make only HTTPs work ? HTTPs URL =…
Sandeep
  • 1
  • 2
0
votes
0 answers

SonarQube web api - finding resolved issues / newly created issues

I like to retrieve issue information from our sonarqube instance via the web api, namely, what issues have been resolved and what issues have been created newly. Is it correct to use the api/issues method for this ? Does this involve all types (bug…
Emerson Cod
  • 1,990
  • 3
  • 21
  • 39
0
votes
1 answer

Customizing projects widget in a dashboard of sonarqube

In the default dashboard that the sonar provides, the user can view all the projects that have been linked with the sonar server. But as an admin I want to limit that projects list based on the user's access to the projects. For example, If I'm the…
0
votes
1 answer

SonarQube: Improvement of Measure filter widgets

In SonarQube there is the possibility of using measure filters to look at all the files of a project or directory in a measure filter widget. Actual you must explicitly set the project , subproject or directory you are interested in in the…
NPesch
  • 1
  • 1
0
votes
1 answer

SonarQube: Presentation of filename in widget measure filter as histogram

I'm using the Measure filter as histogram widget in my self-defined SonarQube dashboard. This widget shows to the resources and relevant to a metric the metric value of a resource. The Problem is, that the resourcename / the filename is not…
NPesch
  • 1
  • 1
0
votes
1 answer

SonarQube: Can't Create Technical User

SonarQube v5.2 I am trying to create a technical user (one that is authenticated locally and not against our LDAP). I have added a user name to the conf/sonar.properties file and restarted SonarQube. But, when I log in (as an administrator), the…
sdoca
  • 7,832
  • 23
  • 70
  • 127
0
votes
0 answers

Not able create build using sonarqube and gradle

Facing below error while trying sonarqube plugin with gradle : Is plugins { id "org.sonarqube" version "2.2" } working perfectly ? I am getting following error Error resolving plugin [id: 'org.sonarqube', version: '2.2'] > Could not GET…
0
votes
1 answer

SonarQube analysis of Stash pull requests

I have to create a Sonar dashboard view for each Stash pull request jenkins build. Is it possible to achieve it at run time? In other words I would like to create a sonar dashboard for each jenkins build. Any help is highly appreciated.
sanjiv
  • 269
  • 4
  • 12
0
votes
1 answer

How to use a script shell or a jenkins plugin to create or to delete a sonarqube project?

I have many project of Sonarqube, each project correspond to a a version of my software. At the same moment, I save the last 5 version of my software. I use jenkins for integration continue. My aims it to delete or to create a sonarqube project by…
Youssouf Maiga
  • 6,701
  • 7
  • 26
  • 42
0
votes
1 answer

Customize SonarQube rules of sonar-web-frontend plugin in sonar dashboard

I configured sonarQube analyze for my Angular 2 project as this example sonar-web-frontend-helloworld And I added sonar plugin to Jenkins and run gulp task as Jenkins command. It was perfectly worked and now I can view my project in sonar dashboard.…
ekanayaka.msl
  • 53
  • 1
  • 1
  • 7
0
votes
1 answer

Setting custom properties on SonarQube projects

I'm following the documentation on the Sonarqube web api for getting/setting properties. I'd like to set a property on project pi_core with the property name "appName" and the value "UCFE". Ultimately I want to fully automate this via PowerShell but…
Richard Schaefer
  • 525
  • 3
  • 13
  • 45
0
votes
1 answer

Create new custom rule for all languages in SonarQube 6

I need to add a new custom rule which will check if email is written anywhere in code. It should work for all languages but specially for PHP. I'm confused if I've to create a plugin for it or has to create a custom rule template. Any lead can be…
ÛmÄîr MÄlîk
  • 453
  • 2
  • 10
  • 23
0
votes
1 answer

what is SQL query for getting Sonarqube Lines of Code data

My problem is about getting data from Sonar database. I want to get lines of code data for specific projects or group. Basicly I need a query for get LoC data from database. For example, at dashboard I've some information about this. I need sonar…
0
votes
1 answer

SonarQube Java issues

I am trying to retreive SonarQube results using Java API's. While I am able to successfully retreive some results, I am facing few challenges as well. I have following 2 problems Problem 1 : My code is as follows IssueQuery issueQuery =…
Sachin
  • 247
  • 4
  • 16
  • 26