Questions tagged [sonarqube-web]

232 questions
4
votes
1 answer

create project for sonarqube with the rest-api / web-api

we try to automate the creation of projects (including user/group Management) in sonarqube and I already found the Web-API-documentation in our sonarqube 5.6-Installation. But if I try to create a project with the following settings JSON-File…
user5832678
4
votes
1 answer

SonarQube adds all issues as Code Smell

After upgrading to 5.5 version and now the latest (5.6) SonarQube always shows the issues I create through my plugin as "Code Smell". I would like to know more about the categorization and how can I add them as other types ("Vulnerability" and…
jonypera
  • 446
  • 2
  • 13
  • 23
3
votes
1 answer

How to get Sonarqube Metrics (i.e. vulnerabilities: A; B; C; D; E) Ratings via the web api

Please assist with the above. I have successfully implemented a web api to sonarqube and I am able to get values for the metrics I specify in the web api (ref: https://gazelle.ihe.net/sonar/web_api/api/measures) The problem I have is, I want to get…
P. Sithole
  • 151
  • 1
  • 13
3
votes
1 answer

Sonarqube API response with date-time in parameters

Trying to extract issues and getting this error while hitting SonarQube API: api/issues/search?createdAfter=2013-05-01T13:00:00+0100 {"errors":[{"msg":"Date '2018-06-05 14:00:00 1000' cannot be parsed as either a date or date+time"}]}
Jordan Smith
  • 107
  • 12
3
votes
3 answers

How to solve Sonarqube java.lang.OutOfMemoryError: Java heap space

I'm using Sonarqube community version. I'm getting the following error, Exception in thread "LOG_FLUSHER" Exception in thread "CHECKPOINT_WRITER" java.lang.OutOfMemoryError: Java heap space at…
3
votes
1 answer

SonarQube 6.7 - New issue identification

I migrated my SonarQube from 5.6.6 (LTS) to 6.7.1 (LTS). In previous version I was able to list only the new issues created between the 2 last analysis from the Home of the project. In the leak period when I clicked on New code smells, the issues…
SebG
  • 321
  • 2
  • 14
3
votes
0 answers

Is there a place to see the timeline widget with custom leak period?

Before 6.1, we were able to do so in a custom project dashboard. Actually, I can only see history measure by measure, but not on a dashboard. Am I missing something?
Karol Deland
  • 331
  • 1
  • 2
  • 8
3
votes
1 answer

Sonarqube PostProjectAnalysisTask example?

I have been searching for any PostProjectAnalysisTask working code example, with no look. This page states that HipChat plugin uses this hook, but it seems to me that it still uses the legacy PostJob extension point ...
palevi
  • 111
  • 5
3
votes
1 answer

Unable to Activate Coding Rules in new Quality Profile

I'm attempting to create a clone of the existing java Sonar Way Quality Profile. I'm following the instructions at http://docs.sonarqube.org/display/SONAR/Quality+Profiles for "How do I ... Copy the rules from one profile to another?" SQ 5.6/Java…
Darrin
  • 55
  • 1
  • 3
3
votes
1 answer

why sonarqube 6.0 doesn't allow to select metrics of type "Rating" in quality gate definitions?

Reliability Rating, Security Rating and SQUALE Rating doesn't appear in quality gate definition form. Is this a bug or there's some hidden reason for this?
palevi
  • 111
  • 5
3
votes
0 answers

What is the replacement for these deprecated methods, in Sonar Java API 5.6?

There are some methods in my application using Sonar Java API 4.2. But, I have upgraded to 5.6.1 and unable to implement the replacements for these methods. org.sonar.api.resources.Project.path(); I tried using…
Dravidian
  • 339
  • 2
  • 9
  • 19
3
votes
1 answer

how do I see sonarqube time machine reports for a specific date in past

We are using sonarqube 4.5.5, could someone please tell me how do I see my past reports from few days back like at the specific date. In the drop down I can only see delata from yesterday and 10 days back.
user3877467
  • 111
  • 1
  • 11
3
votes
1 answer

SonarQube and LDAP - Case sensitive logins

I am checking SonarQube 5.4 and the latest LDAP plugin 1.5.1. There are however a couple of issues. First. My AD account is majcicam. If I log in with it, it is correctly shown in the users list. However if I login with MajcicaM (note capital…
Mario Majcica
  • 780
  • 1
  • 6
  • 20
2
votes
0 answers

How to integrate SonarQube into jenkins pipeline for angular 8 project

I am trying to setup a pipeline script for an angular project with sonarqube. The pipeline process throws an error 'Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeeded?' Can anyone help me to solve this issue? I have…
yeomane
  • 31
  • 1
  • 1
  • 6
2
votes
1 answer

Export report from SonarQube_6.7.6

I have installed Sonarqube 6.7.6 and sonar-scanner (sonar-scanner-3.3.0.1492-windows). I have analyzed my code and the results are at dashboard. Now, I need to export the report in XML or Excel or PDF format (Anything among these are fine). I have…
SonarQ
  • 31
  • 1
  • 2
1
2
3
15 16