Questions tagged [sonarqube5.3]

This is the SonarQube 5.3.x specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.3.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.3 version of SonarQube, which was released on the 8th January 2016. See the tag for general SonarQube questions.

Notable changes:

  • New Project Space which puts the focus on the Quality Gate and the Leak Period
  • User tokens for authenticated analysis without passwords
  • New web services to facilitate a build breaker strategy
  • Cross-project duplication is back!
85 questions
14
votes
2 answers

Issues with executing sonarQube on project Caused by: java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/maven /SonarQubeMojo

Im getting the below exception when executing the sonarQube on a project. when I try to run sonarQube on our project, we get the below unsupportedClassVersion Exception D:\Repos\testPA\testPA>mvn sonar:sonar [INFO] Scanning for…
vr3w3c9
  • 966
  • 7
  • 28
  • 52
10
votes
2 answers

MessageException: Current version is too old. Please upgrade to Long Term Support version firstly

I downloaded SonarQube 5.3, configured the sonar.properties file, downloaded the JDBC driver for MSSQL (I'm using SQL Server 2012 and SQL JDBC 4.2), created a user with all grants in my SQL Server 2012 instance with database sonar. Then I execute…
S. Moreno
  • 496
  • 6
  • 26
6
votes
1 answer

Jenkins cannot connect to SonarQube server using HTTPS (HTTP + SSL) with self-signed certificate

I use SonarQube version 5.3 and I'm trying to set it up with Jenkins. I used this tutorial: Analyzing with SonarQube Scanner for Jenkins. But these are the error messages I get: ERROR: Error during Sonar runner execution …
hajimal
  • 160
  • 1
  • 3
  • 12
4
votes
2 answers

Code Coverage: Cobertura and SonarQube 5.3 Maven Integration

We are migrating all the project from ANT to MAVEN as part of Continuous Integration. We are using JaCoCo for new project to measure the code coverage and integrated successfully with SonarQube. We have few existing ANT project which is using…
4
votes
0 answers

SonarQube background tasks failing with NoNodeAvailableException

Project analysis on the build server succeeds, but the background task on the SonarQube server fails with NoNodeAvailableException 2016.03.09 19:25:43 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task…
4
votes
1 answer

How to analyze the java code by using SonarQube5.3

While analyze the code its giving the below error Retrieve remote issues of project newsonarproject... Project not found on remote SonarQube server [XXXX:newsonarproject] Start SonarQube analysis on newsonarproject... INFO: SonarQube Server…
Sri
  • 41
  • 6
4
votes
2 answers

SonarQube 5.3: IllegalArgumentException: There's no changeset on line 1352

I try to migrate from 5.1 to 5.3 version of SonarQube. SonarQube plugins: Cobertura 1.6.3 (cobertura) C# 4.4 (csharp) Java 3.9 (java) XML 1.4 (xml) Git 1.0 (scmgit) SVN 1.2 (scmsvn) JavaScript 2.10 (javascript) My project use Java, XML, JavaScript…
3
votes
2 answers

How to check quality gate status for a project using the API?

I need to trigger HipChat notification for a project as soon as quality gate fails for a project in SonarQube. Is there a REST API for checking the quality gate status of a project. I couldn't find it under api/quailty_gate or api/projects. I am…
Jeel
  • 1,741
  • 3
  • 17
  • 29
3
votes
1 answer

SonarQube: Is there a way to reset the technical debt analysis

We have a build step in TFS 2015 (vNext build system, on prem) that kicks of a code analysis in SonarQube (also on prem | runs a service | database in SQLExpress). Last week we've updated to SonarQube 5.3 (from 5.2) and apparently the first analysis…
Wouter
  • 81
  • 6
2
votes
1 answer

new_coverage metric not working for "since prev analysis" on sonar 5.3

My question is continuation of the question posted here on New code coverage metrics not returning values from SonarQube 5.3 API We recently rolled out Sonar 5.3 to take advantage of new_coverage and other new metrics. However after some days worth…
Rohan
  • 599
  • 5
  • 16
2
votes
1 answer

sonarqube issues shows closed items when unresolved resolution is selected

I have sonarqube 5.3 running and one of the projects is showing incorrect report. Other projects are fine. On the dashboard of the problem project it shows there are 9 Blocker issues. Clicking on this takes me to the issues page where it shows total…
aver
  • 505
  • 1
  • 6
  • 17
2
votes
1 answer

sonarlint(eclipse) not reporting error for my Java custom rule

I have created a sonarqube custom rule for Java. It seems to be working when I check it in the sonarqube server UI. I have configured sonarlint with my eclipse but sonarlint is not reporting any error for my custom rule. How shall I add that, so…
2
votes
0 answers

getting new code coverage, new issues history in time machine api

We have a requirement to get historical information on new code coverage, new issues for sonar projects. The resources api gives value of only the last analysis while the time machine api is giving value=null for these new code…
2
votes
1 answer

Does SonarQube 5.4's 'Sonar way' quality profile contain Findbugs?

There was saying that 'SonarQube Java Analyzer' will be containing FindBug rules .so we need not to add any external findbug rule to sonar . http://www.sonarqube.org/sonarqube-java-analyzer-the-only-rule-engine-you-need/ Is this already added in…
Ganesh Rao B
  • 401
  • 1
  • 7
  • 20
2
votes
0 answers

How to specify a LINEAR DebtRemediationFunction for a rule in SonarQube 5.3 from a plugin?

I am a newbie in SonarQube plugin development. I would like to create a rule where the technical dept remediation is given with a the following formula for each issue for that rule: dept = constant_duration * effort where effort is given and…
geryxyz
  • 81
  • 3
1
2 3 4 5 6