sonar-runner Questions

6

Solved

I have a gitlab-ci integration that require a sonar analysis and if the quality gates pass, to build a docker image. Is this possible using gitlab-ci ?

4

I'm trying to run SonarQube on a project in java. I configured the sonar properties file and placed it in the project directory. On running the sonar.bat there is an error that asks to define the m...
Adali asked 29/9, 2014 at 4:55

3

Solved

I have excluded the directory in my project properties but sonar doesn't exclude it. Can anyone help me to find problem? sonar.sources=./ sonar.exclusions=./utility/Excel/**
Biliary asked 24/8, 2016 at 6:9

7

I am using SonarQube 5.6.3. How can I create a SonarQube analysis details report as a PDF form, an excel report, or an html formatted report? No plugin seems to be available for this. I was unabl...
Gehman asked 12/1, 2017 at 10:26

5

Solved

We recently started using SonarQube. We have found some rules that are suggested by SonarQube but we want to ignore them or give them a low priority and even configure the time suggested by SonarQu...
Minnie asked 23/8, 2016 at 19:26

13

I have some issues while running Sonar on my netbeans' project. It's not working and i have the following error : C:\Users\remy.fischer\Desktop\NetBeansProjects\NetBeansProjects\BinPacking\sonar-s...
Omdurman asked 21/6, 2017 at 7:30

6

We are using SonarQube 5.1.2 using Ant runner 2.2 and Java pluging 3.12 for the analysis. I can succesfully analyse my project. I just keep getting this error: Java bytecode has not been made avai...
Ragouzis asked 2/9, 2016 at 11:12

16

I am trying to exclude a directory from being analyzed by Sonar. I have the following properties defined in my sonar-project.properties file: sonar.sources=src/java sonar.exclusions=src/java/test/...
Abbotson asked 24/1, 2014 at 2:26

7

Solved

Can anyone help me in getting solution for the below error. Below are the version of the components to configure SonarQube 5.1.2 Soanr-Runner 2.4 Java 1.7 [ I have to use 1.7 only since my code...
Doorknob asked 28/10, 2016 at 8:2

3

Solved

I am analysing a Java project that has been unit tested and Cobertura coverage.xml reported. I am using SonarQube 4.1.1 and latest Sonar Runner. I have successfully imported Cobertura coverage resu...
Ambassador asked 16/2, 2014 at 14:18

3

I have a sonar-project.properties file, which specifies how sonar-runner inspects the the folder structure, which files to inspect, which files to ignore etc. I cannot successfully determine howev...
Amphistylar asked 10/6, 2015 at 10:7

1

I have a project which should run a specific Gradle task (sonarqube task) only if a condition is met after build task is executed. This task can fail as it communicates with a remote server which i...
Gapeworm asked 12/2, 2018 at 20:15

2

I'm trying to send a job to sonarqube from jenkins. However I'm getting an error saying te following when I run the job ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerExcep...
Eras asked 21/7, 2016 at 9:5

3

Solved

SonarQube Server 5.1.2, Sonar-Runner 2.4 As provide in Multi-moduleProject i have created a project structure as Accounts | ->invoice | ->src ->receipt | ->src ->sonar.prope...
Fatty asked 26/8, 2015 at 13:0

3

I am trying to use SonarQube to scan the UI modules I have. The UI modules are lot in number. They have a common structure. Each module has its own JS files. I need to specify the sonar.sources va...
Datestamp asked 19/6, 2015 at 4:16

4

I've got sonarqube 6.5 with default configs. When sonar.forceAuthentication flag is set to false, I can create and analyse project through command given below. mvn sonar:sonar -Dsonar.host.url=htt...
Tullusus asked 8/9, 2017 at 10:11

2

Solved

I have very little exposure to SonarQube but have been asked to make a document explaining how to set up / use "sonar-project.properties file". Any information or input would be greatly appreciated...
Wastepaper asked 3/12, 2015 at 16:59

3

Currently on my project, each pull-Request on the organization-repository are build automatically by Jenkins, as specified in a jenkinsfile. When the build end, a message in send by Jenkins to gith...
Reign asked 30/7, 2017 at 20:3

7

Solved

Is there a way to exclude packages from SonarQube(instrumented by gradle + sonar-runner) coverage reports(generated by jacoco) without excluding them completely from the project ? Below is what i ...
Eponymy asked 20/11, 2014 at 7:10

2

Solved

With each project created at my company, a new naming convention is used in Sonar. So some projects have their name as abbreviated, and some have their names as camel case, and some projects just h...
Smattering asked 26/2, 2016 at 10:0

0

I am using jest-sonar-reporter for the coverage as below: package.json { "name": "app", "version": "1.0.0", "description": "The task runner...
Underthecounter asked 13/11, 2020 at 2:23

3

Solved

I am executing sonar through Jenkins build, there is use-case where 'src' location changes depending upon build so i want to use environment variable for specifying 'src' path. For example in sona...
Autochthon asked 16/8, 2016 at 10:28

2

I'm trying to import generic test execution with sonar.testExecutionReportPaths. I'm using the xml file format provided in the doc. I use full path to the file in the path attribute. And files exis...
Modish asked 14/2, 2018 at 9:57

8

I am deploying a large Java project on Sonar using "Findbugs" as profile and getting the error below: Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap spac...
Granulocyte asked 19/10, 2012 at 4:31

2

Solved

I'm trying to run a sonar analysis on my playframework jave code. There are no files indexed: me@fhnw:/home/mycomp/myReporting/sonar-runner/java-sonar-runner-simple$ /home/me/tmp/sonar-runner-2.4...
Oxyacetylene asked 9/5, 2014 at 14:27

© 2022 - 2024 — McMap. All rights reserved.