Questions tagged [sonar-runner]

Default utility tool to launch a Sonar analysis without any dependency on third party tool like Maven, Ant, ...

905 questions
0
votes
1 answer

In Sonar after execution it showing final memory:8m/453m what is it?

After running sonar annalyzer, under successfully execution message its showing final memory 8m/453m what does it mean.
user3427658
  • 291
  • 3
  • 5
  • 12
0
votes
1 answer

Sonar eclipse plugin: Unable to compute position of SonarQube marker

Well I am upgrading my sonar instance to 4.5 (4.4 currently), So I copied my config and profile to the new instance, when I run the first analysis from the console its all OK, errors are showing right. after running the first analysis I linked my…
0
votes
1 answer

Sonar runner fails in dryRun mode with java.lang.NoClassDefFoundError

I am attempting to perform a dry run analysis of an existing project with Sonar Runner but it keeps failing with a java.lang.NoClassDefFoundError. I've tried setting sonar.dryRun.excludePlugins=emailnotifications but this does not fix the issue. My…
0
votes
1 answer

Configuring Analyzer

I just installed SonarQube to try it out and am trying to setup the Analyzer. Since I just want to trial it, I don't want to setup a separate database. Can I use the embedded database for the Analyzer as well? If so, why is there nothing in the docs…
Patrick
  • 345
  • 2
  • 14
0
votes
1 answer

Python sonar doesn't collect tests

I have next in my config: sonar.sources=dev sonar.python.xunit.reportPath=parts/jenkins-test/testreports/*.xml sonar.dynamicAnalysis=reuseReports I see test xml files which are junit format (jenkins also process them correctly). When I run…
Eugen Martynov
  • 19,888
  • 10
  • 61
  • 114
0
votes
1 answer

SonarQube 4.3 - 0 files indexed

I'm trying to run a sonar analysis on my jave code. There are no files indexed. INFO: Runner configuration file: C:\Program Files\Development\Tools\sonar-runner-2.4\conf\sonar-runner.properties INFO: Project configuration file: C:\Program…
David
  • 1
  • 1
  • 1
0
votes
1 answer

Class 'XXX/XXX/XXX ' is not accessible through the ClassLoader warning in Sonar analysis with Jenkins build and maven project

I know it's recurent question but I couldn't find a solution to my issue. In JENKINS, I run a SONAR analysis after the build. When Soanar gets to Java bytecode scan... it displays : WARN - Class '.../.../.../...' is not accessible through the…
Ismail Sen
  • 571
  • 2
  • 14
  • 27
0
votes
2 answers

SonarQube 4.3 - Analyze on different Machine - IllegalArgumentException - Dependency not found

I currently updated to SonarQube 4.3 and sonar-runner 2.4 to analyze projects in my build environment (2 servers - one that hosts sonar - one that runs sonar-runner). With SonarQube version 4.2 and sonar-runner 2.0 anaysis was fine and worked…
lachi
  • 11
  • 3
0
votes
2 answers

How to fix sonar voilations automatically through scripts

I am going to integrate Sonar with the existing code base, with multiple projects, I have plans to make it incremental analysis by using ant script to trigger sonar analysis and make the build fail if there are Blockers or Criticals. However when i…
0
votes
1 answer

sonar-runner unable to launch on fedora19

My jenkins job is failing with the below error.. i have verified the database process and its login as well... It looks to be fine.. ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerException: Unable to execute Sonar Caused…
0
votes
1 answer

Is it possible to trigger sonar runner from a java program?

I am trying to trigger sonar runner from java without plugin. I have created the directory structure and property files needed for sonar runner through code. I was planning to execute the .bat file through java. But I think thats wiered and found…
Valath
  • 880
  • 3
  • 13
  • 35
0
votes
1 answer

Having trouble getting started with SonarQube

I installed SonarQube and sonar-runner, and the web server seems to work just fine as I can browse it. I tried to keep things as simple as I could, I put the "sonar-project.properties" file in my project's source folder and gave . as the…
raynebc
  • 33
  • 6
0
votes
1 answer

Report reuse for PHP projects in Sonarqube 4.2

I have a Jenkins job running for my project that generates reports for the following tools: phpcpd pdepend phpcs phpmd phpunit (unit & integration tests) I would like to have Sonar-runner analyze these reports, especially for integration tests,…
user3558083
0
votes
0 answers

SonarQube Incremental mode gives different results on different machines with same code

I am running a new sonar server with one project and one quality profile. I have a "runner" machine that continuously running full scans (after getting the latest code) and the developers machines where they would like to run incremental analyses…
roybj
  • 278
  • 3
  • 14
0
votes
0 answers

sonar-runner fails every time

While running sonar-runner (with debug flags, and stack trace) I'm getting an error. My sonar server is bound to mysql which runs on the same machine. It was running ok for some time, but lately it have started ending with following error. …
Cativail
  • 1,040
  • 1
  • 9
  • 18