Skip to content

Add SonarQube plugin (external url source) - #58

Draft
charafsalmi wants to merge 1 commit into
Factory-AI:masterfrom
charafsalmi:add-sonarqube-plugin
Draft

charafsalmi wants to merge 1 commit into
Factory-AI:masterfrom
charafsalmi:add-sonarqube-plugin

Conversation

@charafsalmi

Copy link
Copy Markdown

Adds the official SonarQube plugin as a single marketplace entry. No files are vendored into this repo. The source is a url source pointing at SonarSource/sonarqube-agent-plugins, pinned to a full commit SHA, in the same shape as the Dodo Payments entry in #54.

What it gives Droid users. SonarQube checks code quality and security: bugs, vulnerabilities, leaked secrets and quality gates, across 40+ languages, on SonarQube Cloud or SonarQube Server. The plugin brings that into the Droid loop:

  • the SonarQube MCP server, started locally by the sonar CLI (sonar run mcp);
  • nine sonar-* skills: analyze, list issues, fix an issue, quality gate, coverage, duplication, dependency risks, list projects, and setup;
  • a sonarqube-reviewer droid with no edit tools, for review-only passes.

It has no hooks. Users need the sonar CLI, a container runtime, and sonar auth login (or the sonar-integrate skill, which walks through it).

Packaging. The repository ships a native .factory-plugin/plugin.json and a droids/ directory, so Droid does not have to translate the Claude layout. Packaging and docs landed in SonarSource/sonarqube-agent-plugins#62.

Checks I ran. With this branch added as a local marketplace, droid plugin install sonarqube@<marketplace> (Droid 0.233.0) succeeds and resolves the pinned commit. The installed copy contains .factory-plugin/plugin.json (version 2.7.0), mcp.json, the nine skills and droids/sonarqube-reviewer.md, and no hooks. marketplace.json parses.

Pin. The SHA is the merge commit of #62 on master. Our 2.7.0 release is in progress; once it is tagged I will move the pin to the tagged commit.

I work at Sonar, on the team that maintains this plugin. Security policy: https://github.com/SonarSource/sonarqube-agent-plugins/blob/master/SECURITY.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant