Questions tagged [sonarqube5.1]

This is the SonarQube 5.1.x specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.1.x — not just 5.x.

SonarQube (formerly Sonar) is a quality management platform focusing on continuous analysis of source code quality.

Information

This tag is specific for the 5.1 version of SonarQube, which was released on the 23rd April 2015. See the tag for general SonarQube questions.

314 questions
23
votes
6 answers

How to correctly configure the property "sonar.java.binaries"?

We are using SonarQube 5.1.2 using Ant runner 2.2 and Java pluging 3.12 for the analysis. I can succesfully analyse my project. I just keep getting this error: Java bytecode has not been made available to the analyzer. The…
Mark
  • 414
  • 1
  • 3
  • 9
16
votes
6 answers

Error in SonarQube when launching svn blame

I recently upgraded my SonarQube server from 4.5.2 to 5.0.1, then to 5.1 (see edit below). Suddenly, the analysis of a multi-module Maven project failed with the following error : [INFO] [12:02:05.045] Sensor SCM Sensor... [INFO] [12:02:05.169] SCM…
Tunaki
  • 132,869
  • 46
  • 340
  • 423
14
votes
1 answer

NOSONAR tag to ignore an invalid issue still shows as an issue

I have the below method which is showing a sonar issue saying the method is not used anywhere. @Provides @ObjectMapperAnnotation public ObjectMapper provideObjectMapper() { //NOSONAR ObjectMapper mapper = new ObjectMapper(); …
AnOldSoul
  • 4,017
  • 12
  • 57
  • 118
12
votes
3 answers

Multi module project analysis with SonarQube

SonarQube Server 5.1.2, Sonar-Runner 2.4 As provide in Multi-moduleProject i have created a project structure as Accounts | ->invoice | ->src ->receipt | …
Jeevanantham
  • 984
  • 3
  • 19
  • 48
10
votes
5 answers

Failed to start Sonar Webservice

I am working on Sonarqube 5.1. It used to work fine earlier, later i got this no space left on device error.So i have deleted some unwanted files and restarted the service. Now i can see that the service status is running, but i cannot access the…
9
votes
3 answers

SonarQube : " Project configuration file: NONE "

I've configured everything to do a Sonar analysis on a Maven project. Everything is fine until I run sonar-runner : Max$ sonar-runner INFO: Scanner configuration file: /Users/Max/Documents/sonar-scanner-2.5/conf/sonar-runner.properties …
user3568978
  • 111
  • 1
  • 1
  • 7
9
votes
2 answers

How to get list of fixed issues during a sonar scan

After every sonar scan we can see the list of newly added issues in both portal and Scan logs like shown below. Iam able to get the list of newly added issues using the Rest API http://localhost:9000/api/issues/search?createdAfter=2015-08-15 Here we…
Nayeem
  • 681
  • 15
  • 35
8
votes
1 answer

sonar coverage in preview mode

I've got a question about code coverage in sonar preview mode. I'm trying to configure sonar for our project and exploring the sonar's preview and incremental modes. The idea is to run those in continuous manner in CI in feature branches managed by…
Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97
8
votes
1 answer

Running a Sonar Analysis from the Dashboard

Is there a way to run a Sonar 5.1.1 Analysis completely in the Dashboard GUI? If not what are the steps to run it otherwise? I can't seem to find a document that walks you through the steps.
PT_C
  • 1,178
  • 5
  • 24
  • 57
7
votes
3 answers

sonar.Qualitygate is Deprecated in Sonar Qube 5.3. What is the alternative?

Context: In Sonar Qube, there exists a custom Quality Gate which is called say abcd. This is NOT the default quality gate. And in Jenkins, I had configured this SonarQube Quality Gate for a set of APIs by using the parameter…
user2608424
  • 183
  • 2
  • 10
7
votes
1 answer

SonarQube with C# plugin with MSBuild Runner does not take exclusions

Currently I have an instance of SonarQube 5.1.2 with C# plugin and MSBuild runner in order to analyze a 1.200.000 LOC project. I intend to reduce the classes that are analyzed, I created a sonar.properties file with the line…
XtianGIS
  • 967
  • 16
  • 39
7
votes
2 answers

Jenkins: SonarQube link missing from job page's side bar

In the past, I configured Sonar in Jenkins by doing "Add post-build action -> SonarQube". Now, when I do so, I get this warning: It is no longer recommended to use SonarQube maven builder. It is preferable to set up SonarQube in the build…
limc
  • 39,366
  • 20
  • 100
  • 145
7
votes
1 answer

Failed to start SonarQube, Unable to start JVM: Permission denied (13)

Failed to start SonarQube. How can I fix it? Sonar…
風一樣的男子
  • 165
  • 1
  • 2
  • 8
6
votes
3 answers

SonarQube: Coverage on New Code never calculated

I have set up SonarQube, Maven and Cobertura to upload unit test coverage at every build run. I want to use the differential views to get coverage for the delta (new code only). The coverage itself is successfully uploaded, and I can see the delta…
MisterStrickland
  • 947
  • 1
  • 15
  • 35
6
votes
3 answers

Restart SonarQube Server remotely

I implemented SonarQube on the server, and I do most of the configurations remotly. Hence whenever a plugin is installed, a restart of SonarQube is required and every time I have to explicitly (manually) restart the SonarQube server. Is there a way…
hrskrs
  • 4,447
  • 5
  • 38
  • 52
1
2 3
20 21