Questions tagged [sonarqube5.6]

This is the SonarQube 5.6.x LTS specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.6.x LTS — 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.6 LTS version of SonarQube, which was released on the 3rd June 2016. See the tag for general SonarQube questions.

Notable changes:

  • Requires Java 8
  • Fixing the Leak
  • Adding More for Developers
  • Increasing Scalability and Security
86 questions
1
vote
0 answers

Custom FxCop rules violation is present in Analysislog.xml but not reflected in the Sonarqube web (v5.6.6)

I am currently upgraded to Sonarqube v5.6.5,Sonar C#(v5.0) plugin, sonar scanner for MSBuild v2.2 & Previously used Sonarqube v4.6.5,Sonar C#(v2.1) plugin, sonar runner v2.4. My custom Fxcop rule is creating an Violation in Fxcop report like below…
user7014262
  • 135
  • 12
1
vote
0 answers

Using HttpConnector in a SonarQube plugin

I'm trying to develop a SonarQube (Compute Engine) plugin and I need to use the credentials (sonar.user // sonar.password) in order to invoke web services from within the plugin itself. I try declaring the use of them in the Plugin class,…
Alix
  • 2,630
  • 30
  • 72
1
vote
1 answer

How do i reset leak period?

How can i restore a previous leak period? Example, we have our server set-up to calculate the leak period based on version number. Unfortunately someone bumped the version number of the project prematurely. We restored the version number and the…
bkilgore
  • 129
  • 1
  • 7
1
vote
1 answer

Sonarqube project level measures tab blank

Running Sonarqube 5.6.1 MSBuild scanner C#/javascript with mutiple projects with a MSSqlServer db. The global measures tab displays all appropriate projects as expected, however drilling down into individual projects - the measures tab there is…
Ted Trela
  • 11
  • 3
1
vote
1 answer

Number of unit test using nosetests is not reflecting in sonar report for python codebase

I am trying to get test coverage report and unit test details (number of test cases, # of passed test cases) into sonar. I have generated report using coverage and nosetests plugin and stored same into coverage.xml and nosetests.xml My…
1
vote
1 answer

Sonar 5.6 : cannot update issue

I try to update an issue on the UI (assign/set severity/open). But nothing append. When i see the network exchange i have a 404: {"errors":[{"msg":"Issue with key '76b53a17-fa8f-4d04-b999-1fd5e401fee0' does not exist"}]} But i found my issue in my…
Duff
  • 852
  • 12
  • 16
1
vote
1 answer

Failed analysis for SCSS file?

I'm getting an error when analyzing my project using the generic SonarQube Scanner. According to the documentation this combination of scanner and server is compatible. Versions: SonarQube 5.6.4 LTS CSS / SCSS / Less plugin 3.0 SonarQube scanner…
Alix
  • 2,630
  • 30
  • 72
1
vote
1 answer

Auto assign issues does not function reliably

I am having trouble setting up issue auto-assign features of development cockpit to work. We are setting up LTS version 5.6.4. For now, I have manually created users who's email address exactly matches the SCM(git) email address. Only one of 5 users…
bkilgore
  • 129
  • 1
  • 7
1
vote
1 answer

SonarQube 5.6.2 plugin - custom Extension point does not get executed

I have added an interface 'FileGenerator' as an extension point and implementation class 'JavaFileGenerator' is added implementing to the interface/extension point however the implementation class is not getting executed. I have below classes in my…
Swati Thakare
  • 189
  • 1
  • 8
1
vote
1 answer

Sonar analysis in preview mode does not fail if new issues are found

When I run sonar against my project in preview mode, the build is successful even when issues are found and listed in the issues-report-light.html. Is that the default behaviour? The build fails for the same issues when run in analysis mode. Am I…
Vidhu
  • 21
  • 3
1
vote
1 answer

After upgrading from SonarQube 5.3 to 5.6.2, Backround Task is throwing IllegalStateException: Fail to read ISSUES.LOCATIONS

After upgrading from SonarQube 5.3 to Sonaeqube 5.6.2, I am unable to successfully run a scan. Note that I am using a very slightly modified version of 5.6.2 to workaround an issue described here: IllegalStateException when migrating databases from…
1
vote
0 answers

Is there any way to extract a report on sonarqube 5.6 community version?

I've looked at report, governance and sonar pdf plugin. The community version seems to have no support for report generation. Is there any?
Vidhu
  • 21
  • 3
1
vote
1 answer

SonarQube 5.6.1 throwing bad major version while compiling a Java 7 project with Ant

I have a Jenkins job that uses Ant to build a project. The project is in Java 7. The runtime for the Jenkins job is also Java 7. I'm using SonarQube 5.6.1 which runs on Java 8. SonarQube server is running fine. However, when it's time to invoke the…
MisterStrickland
  • 947
  • 1
  • 15
  • 35
1
vote
1 answer

SonarQube 5.6 Android Gradle

I have this buildsystem Gradle 2.14 SonarQube 5.6.1 sonarqube gradle plugin 2.0.1 My sonarqube.properties look like this: property "sonar.host.url", "http://myserver" property "sonar.login", "mylogin" property "sonar.sourceEncoding", "UTF-8" …
Soccertrash
  • 1,830
  • 3
  • 28
  • 48
1
vote
2 answers

Rules Compliance Metric Sonarqube

The Rules Compliance metric for Sonarqube 5.6 is missing. The Issues Density plugin is deprecated as well as Violation Density so I am not sure what to do now. Any suggestions?
Carl
  • 19
  • 5