Questions tagged [sonarqube6.3]

21 questions
4
votes
1 answer

SonarQube compare versions of the same project

i'd like to compare code coverage and other metrics between two different versions of my project, but using the leaking period mechanism i was not able to get the view i want. I would like to compare version metrics like this: On my researches i've…
Lucas G
  • 97
  • 1
  • 2
  • 11
3
votes
3 answers

SonarQube web API for Code smells - Technical Debt Count

SonarQube Version: 6.7 Is there any REST API for getting Code smells (Technical Debt) from SonarQube, I have searched many forums but I couldn't able to find. I need rest API where we can pass the project key to get the days count of code smells.
Mohankumar Rathinam
  • 623
  • 1
  • 11
  • 25
3
votes
2 answers

How to make quality gate pass, although new plugins are added?

I added two plugins to SonarQube version 6.3.0.19869 (css and web). Now all my projects fail on their quality gate. How can I get it to pass for the first time? I can't fix all old errors now. I want to fix only new issues.
Naphtali Davies
  • 227
  • 1
  • 9
3
votes
1 answer

Declare custom rule type as Vulnerability in SonarQube 6.3

I am using sonarQube 6.3 and when adding new custom rules for Php or Javascript, they are by default declared as Code smell. I would like to declare them as Vulnerability or bug. Here is an example of a rule declaration @Rule(key = "Rule1", priority…
Samorix
  • 307
  • 4
  • 17
3
votes
2 answers

Authorization in Sonar REST/Web API

I have migrated my Sonar version from 5.4 to 6.3.1. In 5.4 version, there was no login API provided by Sonar. Hence we were adding an Authorization header in every call with value as Base64 encoded "username":"password". But post migration to 6.3.1,…
Safvan Kothawala
  • 375
  • 1
  • 5
  • 13
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
2
votes
1 answer

SonarQube.Old.Bootstrapper has stopped working

I got this crash while executing command: SonarQube.Scanner.MSBuild.exe end: SonarQube.Old.Bootstrapper has stopped working More logs: enter code here SonarQube Scanner for MSBuild 2.3.1 Default properties file was found at…
avk
  • 21
  • 4
1
vote
0 answers

SonarQube passing code that should fail

Using sonarqube-6.3.1 and sonar-scanner-3.0.3.778, I can run the command .sonar-scanner from the bin directory of the scanner folder. This outputs a bunch of stuff stating that it's loading and scanning. I can view this on the SonarQube webpage and…
1
vote
1 answer

How to bulk change more than 500 issues on SonarQube 6.x?

Some bulks needed have over 100K issues. Is there a way to bulk change more than the 500 issues in SonarQube 6.x? The UI certainly does not allow to customize this. Where can I find the parameter/code/table in the database needed to change the 500…
Giovani S.
  • 71
  • 1
  • 12
1
vote
2 answers

Rest api to get issues count based on rules for a project in Sonar

I want to know how to get the issues count in sonar based on the rules for a given project through REST API. Thanks, Aravind
Aravind
  • 53
  • 1
  • 8
1
vote
2 answers

Import AngularJS Unit Test results into Sonarqube

I am trying to import Unit Test results into Sonarqube for AngularJS code using Jasmine framework and Karma. I have tried with multiple reporter like karma-junit-reporter, karma-sonarqube-unit-reporter and able to produce the results. However, i am…
Raghav
  • 13
  • 3
1
vote
0 answers

After update to Sonarqube 6.4 java code coverage exclusion does not work

We have added one property in our maven project to exclude few of the java project from sonar coverage **/* which was working fine in Sonarqube 6.3. After…
moh
  • 1,426
  • 2
  • 16
  • 43
1
vote
0 answers

Adding files to FileSystem of the context dynamically

I am developing a custom sonar plugin. My usecase requires me to create a file and add it to the context of the Sensor dynamically. Below is the code snippet from my class which implements Sensor interface. String filePath="path to my temp…
Ram
  • 1,154
  • 6
  • 22
1
vote
1 answer

Sonarqube Gradle execution fails

I am trying to run sonarqube analysis from gradle on an Android project according to this guide Analyzing with SonarQube Scanner for Gradle Running gradle sonarqube fails with this error: ... Unknown constant: 18 Unknown constant: 18 :sonarqube…
Gustavs
  • 85
  • 1
  • 7
0
votes
1 answer

PL/SQL plugin not working in SonarQube

I want to use SonarQube for PL/SQL. I downloaded the plugin from the SonarQube Site and placed it into $SONARQUBE_HOME/extensions/plugins. Then I restarted the SonarQube Server but it didn't start up. When I removed the plugin it was working. How…
1
2