sonarqube-5.0

SonarQube - Views Portfolio Plugin aka Helicopter View nemo - Combined all projects metrics

旧时模样 提交于 2019-12-13 06:40:12
问题 I'm doing a POC on getting Helicopter view on our SonarQube instance. I'm using latest SonarQube (5.1), sonar-runner (2.4), Gradle 2.3 (build system) on a RHEL 6.6 (Santiago) machine. Helicopter view: Plugin in SonarQube that I'm trying is: http://www.sonarsource.com/products/plugins/governance/portfolio-management/ The end result I want on my SonarQube instance is, to look like this: http://nemo.sonarqube.org/ and if you click on one of the VIEW(which you can create using Views Portfolio

No DSM data available for the component (Gradle Multi-Project)

ぃ、小莉子 提交于 2019-12-13 01:29:35
问题 I have just upgraded to Sonarqube 5 (from a very old 2.14). When building a (new) project (multi-project gradle build, with gradle 2.3-rc-3 ), the build is successful and I see code violations ok on the sonar console. When I click on the Design link, I get No DSM data available for the component After looking for similar questions/answers, I have checked ./build/tmp/sonarRunner/sonar-project.properties and it contains <project>.sonar.binaries entries which look correct. UPDATE: I just tried

SonarQube - Unable to load the Wrapper's native library 'wrapper.dll'

与世无争的帅哥 提交于 2019-12-12 21:14:06
问题 I'm installing SonarQube v5.0. I'm running Windows Server 2012 64-bit (a virtual OS), Java 1.8 64-bit, and the SonarQube windows-x86-64 wrapper. SonarQube, whether run via StartSonar.bat using Command Prompt as Administrator or as a Windows Service, keeps throwing the following warning: WARNING - Unable to load the Wrapper's native library 'wrapper.dll'. The file is located on the path at the following location but could not be loaded: C:\sonarqube-5.0.1\bin\windows-x86-64\.\lib\wrapper.dll

Sonar fails on analysis Unable to create symbol table for

天大地大妈咪最大 提交于 2019-12-12 11:47:28
问题 when i run analysis with SonarQube 5.0.1 i receive the following exception on java source I'm running this analysis with maven project by running the following command : mvn sonar:sonar -Psonar Please help Gidi [22:04:35]: [ERROR] [22:04:35.535] Class not found: javafx.beans.Observable [22:04:35]: [ERROR] [22:04:35.884] Class not found: javafx.beans.Observable [22:04:36]: [ERROR] [22:04:36.403] Class not found: javafx.beans.Observable [22:04:37]: [ERROR] [22:04:37.014] Unable to create symbol

Upgrade SonarQube issues

白昼怎懂夜的黑 提交于 2019-12-12 10:35:36
问题 I'm having issues installing my instance of SonarQube 4.4 to 5.1. The instructions say to stop the SonarQube server, match up a couple files (back up DB, copy plugins, etc.), and then restart the sonar server for the updated version. My problem is I'm not sure how to start/stop the server. The commands: bin/<SYSTEM>/sonar stop and NEW_SONARQUBE_HOME/bin/<SYSTEM>/sonar start aren't recognized. Here is what the file location looks like and this is the error I get when I StartSonar on the new

SonarQube - Views Portfolio Plugin - Project vs Filter Motion Chart

十年热恋 提交于 2019-12-12 02:12:37
问题 I completed a POC on View Portfolio plugin using SonarQube (5.1.x)/latest version. Got my trial license for Views Portfolio plugin and created few custom VIEWS, Sub-Views and various Measures. Created custom/shared Dashboards which have various widgets utilizing these views/sub-views / measures that I created above. Everything is working as expected as far as Views Portfolio Plugin or Sonar Qube is concerned. Though I'm bumped by this one issue which is coming in " Project Motion Chart "

sonar ERROR Timeout trying to lock table “PROJECT_MEASURES”; SQL statement:

纵饮孤独 提交于 2019-12-12 01:27:53
问题 I'm using SonarQube 5.1 (using default Database H2) with Gradle 2.3/4. In SonarQube, I'm using a trial version for Views portfolio management plugin which (combines SonarQube project's metrics across as a component and lets you create views like all projects under a given team, department, manager, all app projects, all service projects etc. sonarRunner task is working successfully in Gradle. Once the analysis is done, I have to run another command to pick the latest analysis for "Views

Sonarqube 5.1 core auto assign feature not working

大兔子大兔子 提交于 2019-12-11 11:43:24
问题 I've heard that issue assign plugin is not needed in sonarqube 5.1 since its built in. But whenever I committed through SVN and run sonar through jenkins all of the team gets an email saying there is an issue but issues are not assigned to the last committer or to anybody. But when I view the code through sonar I can see it displays the committed persons name in-front of it. Therefore I think that the issue is not with SVN connection or user name identificaiton. (We use same usernames to log

Insufficient privileges error with sonarRunner

别说谁变了你拦得住时间么 提交于 2019-12-10 14:15:32
问题 I am getting Insufficient privileges error running sonar. This started happening after I upgraded sonarQube to 5.0. ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: Fail to decorate 'org.sonar.api.resources.File@152f931e[key=........]' ERROR: Caused by: {"errors":[{"msg":"Insufficient privileges"}]} For the existing projects, I renamed the key and now I have new sonar projects. Those seems to be working fine for now. The new projects that are created

Sonar complaining about logging and rethrowing the exception

落爺英雄遲暮 提交于 2019-12-09 14:45:39
问题 I have the following piece of code in my program and I am running SonarQube 5 for code quality check on it after integrating it with Maven. However, Sonar is complaining that I should Either log or rethrow this exception . What am I missing here? Am I not already logging the exception? private boolean authenticate(User user) { boolean validUser = false; int validUserCount = 0; try { DataSource dataSource = (DataSource) getServletContext().getAttribute("dataSource"); validUserCount = new