sonarqube-4.5

deleting a project; not in bulk deletion or ghost listings

妖精的绣舞 提交于 2020-01-07 09:03:06
问题 I'm running into an issue where sonar analysis is failing where one of the modules (a framework) of an existing project'X' is already defined in SonarQube but not as a module of project X, please delete it from SonarQube and then relaunch the analysis of project X. In SQ, the framework module that is creating the error can be found in the listing of Project Permissions, however it is not listed on the Project Deletion page, nor is it listed as a ghost project. Any suggestions for deleting

deleting a project; not in bulk deletion or ghost listings

对着背影说爱祢 提交于 2020-01-07 09:02:24
问题 I'm running into an issue where sonar analysis is failing where one of the modules (a framework) of an existing project'X' is already defined in SonarQube but not as a module of project X, please delete it from SonarQube and then relaunch the analysis of project X. In SQ, the framework module that is creating the error can be found in the listing of Project Permissions, however it is not listed on the Project Deletion page, nor is it listed as a ghost project. Any suggestions for deleting

deleting a project; not in bulk deletion or ghost listings

十年热恋 提交于 2020-01-07 09:02:06
问题 I'm running into an issue where sonar analysis is failing where one of the modules (a framework) of an existing project'X' is already defined in SonarQube but not as a module of project X, please delete it from SonarQube and then relaunch the analysis of project X. In SQ, the framework module that is creating the error can be found in the listing of Project Permissions, however it is not listed on the Project Deletion page, nor is it listed as a ghost project. Any suggestions for deleting

What is sonarqube logon webapi

假装没事ソ 提交于 2020-01-06 19:56:06
问题 We are using Sonarqube version 4.5. Using curl call I am trying to log on to sonar qube server but I am getting "authenication" error. What is a webapi call to logon to SonarQube server? 回答1: There is no dedicated 'login API', SonarQube Web Services use basic HTTP authentication (for the Web Services that do require authentication). So you just need to provide your credentials within the HTTP request itself, e.g. with curl : curl -u admin:admin http://localhost:9000/api/server/system 来源:

Read timed out on /batch/project (SonarQube 4.5)

百般思念 提交于 2019-12-30 08:33:23
问题 I am struggling with the following problem. Log of the executed when sonar-runner in Jenkins. SonarQube Runner 2.4 Java 1.7.0_67 Oracle Corporation (64-bit) Windows 7 6.1 amd64 SONAR_RUNNER_OPTS=-Xms256m -Xmx512m INFO: Runner configuration file: D:\CI_BUILD\sonar-runner-2.4\conf\sonar-runner.properties INFO: Project configuration file: NONE INFO: Default locale: "ko_KR", source code encoding: "UTF-8" INFO: Work directory: D:\CI_BUILD\jenkins_home\jobs\CAFE-CLIENT\workspace\.sonar INFO:

Sonarqube 4.5.4 : Mysql deadlock

喜夏-厌秋 提交于 2019-12-23 07:27:53
问题 I am using sonarqube 4.5.4 with mysql database. I got this exception when running analysis on my projects : INFO o.d.m.sonar.runner.RunSonarVisitor - ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction 2016-02-23 04:05:40.091Z INFO o.d.m.sonar.runner.RunSonarVisitor - ### The error may involve org.sonar.core.user.RoleMapper.insertGroupRole-Inline 2016-02-23 04:05:40.091Z INFO

Sonarqube 4.5.4 : Mysql deadlock

久未见 提交于 2019-12-23 07:27:30
问题 I am using sonarqube 4.5.4 with mysql database. I got this exception when running analysis on my projects : INFO o.d.m.sonar.runner.RunSonarVisitor - ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction 2016-02-23 04:05:40.091Z INFO o.d.m.sonar.runner.RunSonarVisitor - ### The error may involve org.sonar.core.user.RoleMapper.insertGroupRole-Inline 2016-02-23 04:05:40.091Z INFO

Javadoc for sonar-plugin-api 4.5.2

别等时光非礼了梦想. 提交于 2019-12-20 05:53:09
问题 For the development of my own SonarQube plugin, I am searching for the javadoc (api) of sonar-plugin-api-4.5.2, but I didn't find it on the internet. For the versions 3.x.x maven also downloaded the sources of the jar and so i was able to generate the javadoc out of it. But for the version 4.5.2 of sonar-plugin-api the sources are not part of the maven repository. So my questions are: Is there a javadoc/api for version 4.5.2 of sonar-plugin-api available online? Or where can I get the source

Sonar rest API insufficient privileges

自作多情 提交于 2019-12-13 01:48:56
问题 I can't access most of the Sonar API, for example localhost:9000/api/tests/show?key=htmlparser:/src/test/java/HtmlParserTest.java or see api/sources/scm. api/server/system and some other general stuff works but nothing where I actually see the code. I always get a {"errors":[{"msg":"Insufficient privileges"}]} I set the project permissions to let anyone see source code & browse the porject, I tried it with Postman, a Java HttpRequest, the command line ... curl -u admin:admin localhost:9000

Is SonarQube package design widget removed? And what about Groovy?

断了今生、忘了曾经 提交于 2019-12-13 01:37:59
问题 After upgrading to Sonarqube 4.5.1 the Package Design widget is no longer available. Is this intentional? Accessing the "Design" menu item still provides the data, however it is no longer available on my dashboard? And I am right when suspecting the package design analysis is not at all available when analysing Groovy? 回答1: The package design widget has been merged into the file design widget. You can read more about this on the SONAR-5712 ticket. And indeed, the design analysis is currently