sonarqube5.2

SonarQube Redmine Integration

纵饮孤独 提交于 2020-01-25 11:53:28
问题 Scenario is After Installing Plugin with SonarQube Error is Missing parameter resource While integrating Sonar with Redmine, At Project level, go to Administration -> Redmine Configuration Page is not loading, Instead of that am getting the above error message on browser. I am using following versions, Maven 3.0.5 Redmine version 3.0.4.stable SonarQube 5.2 Regards, Jojan Paul 回答1: This looks like a bug on the plugin. I have found a workaround until this is fixed. In your browser, you need to

How to subscribe new user to notifications?

限于喜欢 提交于 2020-01-07 05:36:29
问题 I have set up SonarQube 5.2 installation, and I want to enable notifications for new users by default. What I mean is these checkboxes in user profile. I couldn't find an answer in the documentation, the available plugins, the Internet, if anybody had a similar question. What I have found so far is user properties in the SQ database: sonar=# select * from properties where user_id=6; id | prop_key | resource_id | text_value | user_id ----+-------------------------------------------------------

SonarQube - unity tests code coverage on new code not working

点点圈 提交于 2019-12-24 16:13:32
问题 I am trying to do Sonar analysis with the unit tests code coverage on new code. When I do code coverage analysis with cobertura and do Sonar analysis the overall code coverage of the code is displayed correctly, however the code coverage of new code is not displayed. Settings: scm = Git sonar.scm.disabled = false I did following checked out earlier version of source code set Sonar project version to 1.0 created Cobertura report (xml file) executed analysis and checked that the analysis was

Custom plugin for SonarQube 5.2 produces NoClassDefFoundError

空扰寡人 提交于 2019-12-23 05:02:26
问题 I'm trying to develop a plugin for SonarQube 5.2, however, when I deploy the plugin, the SonarQube server is unable to start. The log shows a NoClassDefFound exception with a Google Guava class: Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList at br.gov.tcu.plugins.pmd.PmdTcuPlugin.getExtensions(PmdTcuPlugin.java:48) ~[na:na] at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:55) ~[sonar-server-5.2.jar:na] ...

Sonarqube Analysis org.joda.convert ERROR

无人久伴 提交于 2019-12-19 11:16:23
问题 Why do I get this error: Class not found: org.joda.convert.ToString None of my code uses this class (maven-based sonar analysis), and it doesn't seem to affect the analysis. However, I get worried whenever there are "[ERROR]" logs in the output. My exact command is: mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar I switched to this because someone in another related answer suggested this... 回答1: This error message is logged by the analyzer whenever it tries to complete a symbol during

SonarQube 5.3 Background Task Fails with No Log in Dashboard

扶醉桌前 提交于 2019-12-19 02:55:10
问题 I know this is similar to sonarqube 5.2 background tasks sometimes fail with no log - however I cannot comment (due to lack of reputation points) to add some more information, so tried adding this post as an answer, but had it deleted by the moderators... I was having a problem with SonarQube 5.2 , and now 5.3 following an upgrade yesterday. I have tried upping the logging to TRACE on the server, and enabling sonar.verbose=true on the project itself. However, there is no extra information in

SonarQube background tasks failing with IllegalArgumentException for Java

故事扮演 提交于 2019-12-12 18:07:01
问题 We updated Sonarqube to version 5.2. After it, some Java projects start failing with following exception: 2015.12.22 02:42:13 INFO [o.s.s.c.s.ComputationStepExecutor] Execute component visitors | time=9942ms 2015.12.21 13:01:45 ERROR [o.s.s.c.t.CeWorkerRunnableImpl] Failed to execute task AVHFtA0KaMG72s7lWjEx java.lang.IllegalArgumentException: Multiple entries with same key: MeasureKey{metricKey='lines', ruleId=-6253, characteristicId=-6253}=org.sonar.db.measure.PastMeasureDto@7493f7f3 and

After SonarQube 5.2 upgrade java analysis fails with java.lang.IllegalArgumentException: There's no changeset on line

半世苍凉 提交于 2019-12-11 00:09:21
问题 This is an analysis that I have been running for a while. The SCM is Git. I upgraded SonarQube to 5.2 (from http://downloads.sourceforge.net/project/sonar-pkg/deb as I am using Ubuntu LTS 14.04.3) sonar.log now gives: 2015.11.17 10:43:00 ERROR web[o.s.s.c.t.CeWorkerRunnableImpl] Executed task | project=energy:energy | id=AVEVClvzTc_W2Q8I5ipV | time=647ms Through the web interface I tracked down: http://localhost:9000/api/ce/logs?taskId=AVEVClvzTc_W2Q8I5ipV which gave: java.lang

Failed to run analysis SonarQube 5.2 from Jenkins with specific artifact name

只谈情不闲聊 提交于 2019-12-02 07:11:18
问题 I recently upgraded to 5.2 Some of my jenkins process can not run SonarQube analysis (may be it failed with previous versions ?) After running with debug mode, the stack trace is the following : [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project myclient-extractor: Fail to execute request [code=500,url=http:// www.dev.jouvinio.net/sonar/batch/project.protobuf?key=net.jouvinio.myclient%3Amyclient-extractor]: Fail to download [http:// www

Failed to run analysis SonarQube 5.2 from Jenkins with specific artifact name

て烟熏妆下的殇ゞ 提交于 2019-12-02 04:26:53
I recently upgraded to 5.2 Some of my jenkins process can not run SonarQube analysis (may be it failed with previous versions ?) After running with debug mode, the stack trace is the following : [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project myclient-extractor: Fail to execute request [code=500,url=http:// www.dev.jouvinio.net/sonar/batch/project.protobuf?key=net.jouvinio.myclient%3Amyclient-extractor]: Fail to download [http:// www.dev.jouvinio.net/sonar/batch/project.protobuf?key=net.jouvinio.myclient%3Amyclient-extractor]. Response