sonarqube

Where does Sonarqube collects data from?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-07 03:07:20
问题 Last day I was configuring a jenkins job to run sonar on my java project. I had sonar and jacoco plugins configured in my job. Sonar was throwing some error for which my sysadmin asked me to remove the jacoco plugin configuration from job. I removed and now sonar is saying it cannot find cobertura.xml. So I am curious to know if sonar does analysis on already run jacoco or cobertura task or does it runs its own coverage analysis? 回答1: Short answer : In general, coverage is imported to

unable to access sonar through web

女生的网名这么多〃 提交于 2020-01-06 19:55:37
问题 i have installed sonar on rhel 6.3 64 bit machine but when trying to access the application through web using "http://10.217.14.40:13385/sonar" i get HTTP Error 503 Service Unavailable Following is the last 100 lines from the log [root@RHEL-6 logs]# tail -100 sonar.log INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.core.joran.action

Sonarqube + Jmeter error in jtl file

╄→гoц情女王★ 提交于 2020-01-06 18:07:14
问题 i install Sonarqube with Jmeter Plugin. I have my simple test in Jmeter with: Threads group Http Sampler Assertion Results and i save the result in local, with jtl extension. Now i have configure Local jtl file in jmeter plugin for sonar, for my project. But now if i try to test my project i have this error: ERROR - Cannot analyse project 'My project' es.excentia.jmeter.report.server.testresults.JtlReaderException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '1' (code

Sonarqube + Jmeter error in jtl file

回眸只為那壹抹淺笑 提交于 2020-01-06 18:04:16
问题 i install Sonarqube with Jmeter Plugin. I have my simple test in Jmeter with: Threads group Http Sampler Assertion Results and i save the result in local, with jtl extension. Now i have configure Local jtl file in jmeter plugin for sonar, for my project. But now if i try to test my project i have this error: ERROR - Cannot analyse project 'My project' es.excentia.jmeter.report.server.testresults.JtlReaderException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '1' (code

SonarQube for MSBuild - End Analysis: Error during SonarQube Scanner execution Line out of range in the file

☆樱花仙子☆ 提交于 2020-01-06 15:17:23
问题 ##[error]15:41:48.530 ERROR: Error during SonarQube Scanner execution ##[error]java.lang.IllegalStateException: Line 33 is out of range in the file Controllers/BaseAccessRequestController.cs (lines: 30) I am using Sonar 5.6.5 version and MSBuild 14. Sonar is running as Windows Service. If I exclude this controller then same error comes for other random controller. If I exclude all controllers but keep one or two for which unit tests are written then error goes away but the coverage is shown

Does SonarQube 5.5 support several language?

旧巷老猫 提交于 2020-01-06 14:25:24
问题 I am working on a project with java 1.7, SonarQube 5.5 and Sonar Scanner 2.6.1. In the frontend of the application I use Flex. I downloaded the version of the flex 2.2.1 plugin which is compatible with the 5.5 version of Sonar, and I put it in ~\sonarqube-5.5\extensions\plugins\ . In sonar-project.properties I put sonar.language=flex,java but she does not work. When I use just flex or just java the scan goes correctly. But I do not want to scan language by language, rather I want to scan the

Is it possible to gather unit test list & results on SonarQube 4.5?

不打扰是莪最后的温柔 提交于 2020-01-06 13:50:13
问题 I would like to gather and extract information about unit tests analysed by sonar such as : test name, status, test case ran ... I wonder if I can get this via the REST API ? an dif yes, how can I do such a thing ? I am able to find all issues related to unit test with the filter "?rules=" but that doesn't quite fit my needs. Actually, sonar only rises one issue per file with failed test and I have no other informations such as which test cases fail or anything. Am I doing something wrong or

sonar with gallio and opencover, code coverage: 0%

試著忘記壹切 提交于 2020-01-06 06:47:20
问题 I'm using sonar to check my c# project. I would like to measure code coverage that's why i installed gallio and opencover. When I run soner-runner everything works fine, my unit test is performed, ... but the code coverage is 0% on the sonar web UI. do you know the reason why the code coverage is 0%? My solution, project and classes: (S) SonarTestSolution (P) ClassLibrary1 (C) Class1.cs (P) ClassLibrary1NUnitTest (C) Class1NUnitTest.cs content of Class1.cs: public class Class1 { public String

UNMET PEER DEPENDENCY @angular/compiler@2.4.5

て烟熏妆下的殇ゞ 提交于 2020-01-06 06:43:06
问题 I am getting that error while doing npm install tslint-sonarts I know the error says I need Compiler version for 2.4.5 I am using "@angular/compiler": "^2.1.0" . I don't want upgrade the version because of i need to change all other dependency version. So i need the correct compatible version of sonarts for "@angular": "^2.1.0", I have checked the release log for that package. I have also tried very old version (SonarTS 1.2.0) of that package. But it still throwing that error. Is any lower