Questions tagged [sonarqube-plugin]

SonarQube is an open source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells and security vulnerabilities on 20+ programming languages.

Homepage:

https://www.sonarqube.org/

18 questions
2
votes
1 answer

Sonarqube project dependency graph

I have an existing Jenkins-Sonarqube integration for daily sonar violation check using SonarScanner. Recently there was a discussion to explore a Project Dependency Diagram_ on sonarqube, where I heard about JDepend plugin & tried integrating…
2
votes
1 answer

SonarQube LDAP Plugin StartTLS

We're using SonarQube 5.6.6 with LDAP Plugin 2.2.0 to authenticate users against our Active Directory server. This is working fine for non-SSL/StartTLS connections. I saw that with version 2.1 there is a new option available to enable StartTLS. When…
raidlman
  • 355
  • 2
  • 14
1
vote
0 answers

Sonarqube plugin installation using netrCreds

We are installing Sonarqube as a self managed service via the helm charts at https://SonarSource.github.io/helm-chart-sonarqube.. Sonarqube instance was working fine but we did a change to use netrc type Credentials to download plugins from JFrog…
user3616775
  • 75
  • 1
  • 10
1
vote
2 answers

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project. while 'Run as Maven test'

I am trying to create my own custom rules for Z PL/SQL Analyzer plugin by Felipebz. For that, I am following this tutorial. I downloaded the mentioned Github Directory in that tutorial and imported it in Eclipse. Now, when I try to Run it as "Maven…
1
vote
1 answer

Missing C# Rules in SonarQubeversion 6.4

Earlier I was using SONARQUBE 5.5 and sonar-csharp-plugin-5.0 which was having 407 C# Rules. But now i have upgraded to SonarQube 6.4 with which sonar-csharp-plugin-5.10.1.1411 comes by default and it has only 229 rules. I tried using the older…
sanyam
  • 21
  • 4
1
vote
2 answers

Sonarqube Plugin for Confluence

I would like to integrate my sonarqube instance with a confluence space, so all my team could have access to the project metrics. Does anyone know any plugin that does this or how to do it without a plugin? Thanks
A.Ollerson
  • 11
  • 2
1
vote
1 answer

SonarQube plugin generator for StyleCop not working with SonarC# v6 onwards

I'm currently having an issue getting StyleCop.Analyzers to work with SonarQube. I'm using v6.7 of SonarQube, and I've tried this with multiple versions of the SonarC# plugin. The recommended way to get the custom rules into SonarQube seems to be to…
Tom Anderson
  • 99
  • 11
1
vote
1 answer

How to exclude built-in rules in a custom plugin?

I'm developing a new plugin for SonarQube supporting a new language, but when I included this plugin there were a couple of built-in rules such as: Branches should have sufficient coverage by tests Failed unit tests should be fixed Lines should…
Vladimir Topolev
  • 397
  • 3
  • 21
1
vote
0 answers

How does one customize measures/metrics in SonarQube Plugin Development?

I am developing a plugin for SonarQube 6.5 and want to do a little bit more with measures/metrics. My current domain looks like this: I would like to know how to add the fields on the left side of the measures domain like this: It is not in the…
1
vote
1 answer

How to depend on log4j in a Sonarqube plugin?

I am developing a SonarQube 5.6 plugin. This plugin depends on a library X (a third party library). Library X depends on Log4J. To resolve the dependency problem I am adding log4j dependency in pom.xml with provided scope as defined in SonarQube…
rxx
  • 744
  • 6
  • 16
0
votes
3 answers

An issue occurred while starting sonarqube with custom java maven plugin

I am creating a custom sonarqube java plugin. After adding the plugin jar file inside ../extensions/plugins folder, I tried to start sonarqube in my device. But it is showing the following issues: Background initialization failed. Stopping…
RamGrg
  • 296
  • 1
  • 4
  • 20
0
votes
1 answer

What is the latest link to download sonarqube plugin?

As of 2022, What is the latest link to download sonarqube community plugin for free and install it manually? Is there such a link containing marketplace of sonarqube plugin/code rules?
Helpmepls
  • 21
  • 1
0
votes
0 answers

Using a Spring boot application as dependency in Sonarqube plugin

I have a Spring boot application (myApp) that I want to use as a dependency (library) inside a Sonarqube Plugin. I have created the non-FAT myApp.jar and added it as a dependency to the Sonarqube plugin's pom.xml file. But while running the plugin,…
0
votes
1 answer

How to configure GeneratedFileFilters of SonarC# to allow generated files

I would like to analyze a C# project with SonarQube. Some of my files have *.g.cs extension. Sonar C# plugin handles those files as if they are generated files and I get this error: 'SomeDirectory/ETitle.g.cs' excluded by…
0
votes
1 answer

How to fix "The following languages have no built-in quality profiles" since SQ 7.2.1 with custom plugin

I develop custom SQ plugins for several SQ versions. I am facing a issue since SQ 7.2.1. On SQ startup, le web.log file tells -normal Register rules -start [o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles -stops with the following error…
D Cruette
  • 31
  • 5
1
2