Questions tagged [sonarqube-4.0]

This is the SonarQube 4.0.x specific tag. Use it in addition to the [tag:sonarqube] tag if your question is specific to SonarQube 4.0.x — not just 4.x.

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

Information

This tag is specific for the 4.0 version of SonarQube, which was released on the 7th November 2013. See the tag for general SonarQube 4.x questions.

16 questions
2
votes
1 answer

Unable to execute FXCop analysis in SonarQube

Executing Sonar (version 4.5.4) analysis on a C# sln using the C# built in plugin (version 4.0). I've set in the settings the location of the FxCopCmd.exe, but I get the following in the execution: "All FxCop rules are disabled, skipping its…
Arieltk
  • 121
  • 2
  • 9
1
vote
1 answer

How can I export sonarqube metrics to a newer version

I need to know if it is possible to export all the metrics registered in my sonarqube 4.0 to a newer version "6.2". How should I proceed? Thank you.
1
vote
1 answer

Is it possible to re-arrange widgets based on the project in Sonarqube?

I noticed that existence and placements of widgets are global across all projects in Sonar. Is it possible to customize based on project? For example, if I want project A to have only 1 widget and 1-frame layout, while project B is divided into a…
dhuynh
  • 13
  • 2
1
vote
0 answers

SonarQube upgrade from 3.5.1 to 4.2

I have upgraded sonarQube from 3.5.1 to 4.2, When I run sonar from teamcity, Count of violation issues has changed for the projects, Is it an acceptable behavior?
1
vote
0 answers

SonarQube 4.1 won't start

SonarQube 4.0 works but not 4.1. Using MySQL version 5.7. System is a Linux x86 64-bit. I confirmed that the sonar.sh and sonar.properties are syntactically ok compared to the 4.0 version that works. I even did a file compare to make sure I…
AlpineWhite
  • 71
  • 2
  • 7
0
votes
1 answer

Is SonarQube 4.0 compatible with JDK 1.7?

I am trying to look for the documentation which would tell me the compatibility of SonarQube 4.0 with JDK 1.7 version, But i am unable to find it. I looked for it in sonar plugin version matrix and this link:…
0
votes
1 answer

Sonar indicator still red

I’m contacting you regarding one Problem i encountered with indicator of Sonar, and I need your help, the problem is : In the previous analysis of one project there were 313 issues, so they made some improvements and triggered a new build , then…
Yalami
  • 63
  • 1
  • 3
  • 11
0
votes
1 answer

Is SonarQube 4.0 compatible with java 8

I have projects using Java 8 and i'm using sonarQube 4.0, i need to know if that work without any issue, i searched on official Sonar site and i didn't find anything, can anyone help me?
Yalami
  • 63
  • 1
  • 3
  • 11
0
votes
1 answer

Analysis fails on SonarQube 4.1 with java.sql.SQLException but succeeds on 4.5

Running sonar-runner on a sonar-example project against my SonarQube 4.1 instance fails. In the stack trace, I noticed that it gives the following error: Caused by: java.sql.SQLException: Access denied for user 'sonar'@'172.23.48.129' That ip is my…
senatori
  • 98
  • 5
0
votes
1 answer

Adding New rules to Sonarqube DB without restarting server

How to add register new rule in sonarqube without restarting the server. I have 50 rules in one quality profile and while analysing am using violation.xml which contains new rule which is not registered in sonar database so while analysis i need to…
chethan
  • 25
  • 7
0
votes
1 answer

Sonar global settings disappeared

The global settings options doesnt seem to available anymore. Im logged in as admin and im using Sonarqube 4.0. I did a restore of Sonar from the past working state, but still that doesn't work as well. May be something changed on DB. Any…
0
votes
1 answer

Exclude package / directory from SonarQube's 'Package Tangle Index' analisys

We run SonarQube analisys on our code and we're having a bad time with a 3rd party package and the "Package Tangle Index" analisys. For some reasons we can't fix those issues and I can't simply exclude the folder from being processed because that…
Gustavo Ramos
  • 1,324
  • 1
  • 12
  • 23
0
votes
0 answers

Sonar cyclic dependency issue

I'm getting from Sonar a lot of these violations, but I think they are not really cycles. So for example I have: de.codeplumber.core.abc.core.Holder.java de.codeplumber.core.xyz.core.User.java The Holder.java uses User.java as one of the properties…
0
votes
0 answers

SonarQube with sqlserver trusted connection

How can we setup sonarqube with Sql-server trusted connection mode. I am setting up sonarqube 5.0.1 and it is straight forward with sql server authentication mode i.e. change sonar properties file with sql server user name and pwd Can anyone shed…
Raja Moparthi
  • 101
  • 1
  • 2
  • 10
0
votes
2 answers

Upgrade to SonarQube 4.5.1 fails at UpdateMeasuresDebtToMinutes

I am trying to update from 4.0 to 4.5.1 but the process always fails at UpdateMeasuresDebtToMinutes. I am using MySQL 5.5.27 as a database with InnoDB as table engine. Basically the problem looks like this problem After the writeTimeout exceeds…
1
2