sonarqube-web

Sonarqube set leak period to specific version other than previous version

限于喜欢 提交于 2019-12-06 16:34:55
Evaluating Sonarqube (Version 5.4), we want to migrate our current workflow using another Audit tool, which works like that : The current version that runs in production is our reference version. A new development version is checked out from GIT, a diff process calculates the new and modified files vs. the reference version and starts the audit for these files. There's also a slightly different handling of legacy code (components that already existed in 2012) and new components (after 2012). The build breaks if : Blocker issues in changed files (those files already existing in 2012) from

sonarqube missing project dashboard

家住魔仙堡 提交于 2019-12-04 04:28:44
I have SonarQube 6.1. When I click on a project entry from the main dashboards projects widget, I get to a project home page where it says "quality gate passed" and where some issues are listed ('Bugs', 'Vulnerabilities', 'Code smells' and 'Duplications'). On the left side, close to the top, below the project name, there is a "home" icon and to the right it says 'Issuses', 'Measures', 'Code' and 'Administration'. When I tried to get to a project dashboard - similar to the main dashboard, but specific to the project - I found this page http://docs.sonarqube.org/display/SONARQUBE56/Project

SonarQube how to create Profile and import new rules to it

廉价感情. 提交于 2019-12-02 07:38:39
问题 I'm developing a plugin to SonarQube in order to import rules from a .xml file. So far this is done and they really are imported into the SonarQube instance and shown under "Rules". Although the Quality Profile is being created, all the imported rules aren't being added to it and I can't understand why. I don't want to add them one by one by hand; I'm looking for a way to add them directly to the created profile once they are imported from the .xml file. The profile is simply created with:

How to extract or export rules from SonarQube

放肆的年华 提交于 2019-12-01 06:09:28
问题 Appriciate if I can get help for the below scenario. My issues to identify how to extract/export all java rules on SonarQube 4.5.7. I tried the below two API calls but I get a "The page you were looking for doesn't exist". The sonarqube version I have shows 781 java rules my objective is to extract them to an excel or a csv file [1]curl -X GET -v -u admin:admin http://localhost:9000/api/rules?language=java [2]curl -X GET -v -u admin:admin http://localhost:9000/api/rules/search?languages=java

SonarQube 6.1: How can I see the changes over time without the dashboards?

非 Y 不嫁゛ 提交于 2019-12-01 04:10:11
SonarQube used to have dashboards which were quite convenient to display how metrics changed over time. There was even a dashboard called "Time Machine". How can I see this sort of information in SonarQube 6.1? I appreciate the new focus on the "leak period" but this is not everything I care about. Go to the project's Measures space and drill in on the metric of interest. You should find a history graph there. UPDATE These history graphs moved into the Activity page in 6.3 来源: https://stackoverflow.com/questions/40263360/sonarqube-6-1-how-can-i-see-the-changes-over-time-without-the-dashboards

SonarQube 6.1: How can I see the changes over time without the dashboards?

佐手、 提交于 2019-12-01 00:33:26
问题 SonarQube used to have dashboards which were quite convenient to display how metrics changed over time. There was even a dashboard called "Time Machine". How can I see this sort of information in SonarQube 6.1? I appreciate the new focus on the "leak period" but this is not everything I care about. 回答1: Go to the project's Measures space and drill in on the metric of interest. You should find a history graph there. UPDATE These history graphs moved into the Activity page in 6.3 来源: https:/

All quality profiles have no rules when SonarQube is upgraded to 5.4

梦想与她 提交于 2019-11-30 13:46:41
We are currently running a production server at version 5.1.2 which we are planning to upgrade. Tests have shown that upgrading to 5.3 works as expected. However, upgrading from 5.1.2 -> 5.4 or 5.1.2 -> 5.3 -> 5.4 results in all quality profiles from the 5.1.2 instance becoming empty - no rules assigned at all. Worse, backing up the rules and attempting to restore them fails silently. Has anyone else experienced this? Is there a work-around? Thanks in advance. The update instructions in the Administration view (System Upgrades) differ from the instructions here: Upgrading I would change the