sonar-runner

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

Sonar + MS SQL database

安稳与你 提交于 2019-12-23 04:33:15
问题 I'm attempting to initialize sonar with mssql server database, but I can't. With Microsoft SQL Server Management Studio I created the user with username "sonar" and password "sonar" and granted all the correct privileges to "sonar" database, also created. Also configured "Server Authentication" to "SQL Server and Windows Authentication mode".It works perfectly, but I can't have connection to the database with sonar. Thanks, sonar.properties; #----- Credentials # Permissions to create tables

Sonarqube C# v5.5.2 still has “java.lang.IllegalArgumentException: is not a valid line offset for pointer”

丶灬走出姿态 提交于 2019-12-23 04:13:33
问题 This is related to Sonarqube C# scanner exception: "java.lang.IllegalArgumentException: is not a valid line offset for pointer" Using Sonarqube v5.6.4 on a windows server, c# scanner v5.5.2.537. MSBuild version is: Microsoft (R) Build Engine version 14.0.25420.1 I'm just using the non-service mode, StartSonar.bat while trying to get it working on this codebase, if that makes any difference. The GlobalSuppressions.cs file in question is UTF-16. You can view it in an online hex editor. INFO:

MSBuild SonarQube runner skipping auto-generated files?

帅比萌擦擦* 提交于 2019-12-22 17:39:15
问题 I have set up a local SonarQube 5.1.1 server. I have also installed the C# plugin (version 4.1), as well as the MSBuild runner (version 1.0). I then performed two separate runs on the .NET codebase for the project I am currently working on: Using sonar-runner and the C# plugin Using the MSBuild runner Both runs were made through the CLI. However, the runs yielded very different results. Here is an example: In the first run SonarQube calculated the number of code lines to be roughly 956 000,

SonarQube 5.1.1 Read Timed out Error occurs while loading project repositories

不想你离开。 提交于 2019-12-22 09:56:18
问题 While using the sonar runner to analyze the multi module project I frequently get the “Read Timed Out” error. I have Jenkins configured with SonarQube 5.1.1. Our project is kind of web project, we have a couple of sonar plugins for the analysis like web, css, java, findbugs, js, xml and jacoco. If I load the given link "http://172.21.145.84:9000/batch/project?key=webportal&preview=false" from browser it works, but sometimes it takes quite long to load the response data. Can anyone please give

Relationship between SonarQube Runner and SonarQube.MSBuild.Runner

寵の児 提交于 2019-12-22 08:49:14
问题 Regarding the announcement of SonarQube integration with MSBuild and Team Build, can anyone advise on the relationship between SonarQube Runner and SonarQube.MSBuild.Runner? I'm unclear whether SonarQube.MSBuild.Runner replaces SonarQube Runner or whether it sits on top of it. 回答1: @Techtwaddle is correct: the MSBuild.Runner invokes the sonar-runner. The MSBuild.Runner v0.9 does the following: fetches configuration settings from the SonarQube server; gathers information during the MSBuild

How can I integrate Jacoco reports with SonarQube without using maven?

怎甘沉沦 提交于 2019-12-22 04:12:09
问题 I used Jacoco eclipse plugin to measure unit test coverage and I was able to export a report using it. I want to integrate that report with sonar so I gave the path to it in the project properties file. My properties file looks like this # Required metadata sonar.projectKey=key sonar.projectName=name sonar.projectVersion=1.0 sonar.jacoco.reportPath=jacoco.exec sonar.tests=junit sonar.dynamicAnalysis=reuseReports sonar.java.coveragePlugin=jacoco sonar.jacoco.reportMissing.force.zero=true #

SonarQube for Drupal Projects

北城以北 提交于 2019-12-22 00:28:36
问题 Currently i am using SonarQube with latest version 5.0 . I am using SonarQube for scanning PHP projects with PHP plugin. Now there some queries which i having regarding SonarQube and PHP Plugin. Why SonarQube guys deprecated the old PHP Plugin which is more configurable than the Previous one. Is it possible to Analyze Drupal Projects with SonarQube. Thanks in advance for the answers. 回答1: After doing so much research for SonarQube Coding Standards i came to following conclusion. please find

Error while executing Sonarqube analysis “ Insufficient privileges”

谁说胖子不能爱 提交于 2019-12-21 19:17:54
问题 I am trying to analyse java code through sonarqube. We have created a sonarqube server in our local environment and not using sonar cloud. I tried using sonar maven plugin initially form this link Sonar-Maven Plugin However I faced an "Insufficient privileges" error. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.185 s [INFO] Finished at: 2017-09-18T13:04:47+10:00 [INFO] Final Memory: 64M/589M [INFO] -----------------