maxmilian/dsh-sonarqube1

dsh-sonarqube

为 DeepSeek Harness 提供的只读 SonarQube 社区版代码质量查询工具插件。

AI 分析

核心用途是让智能体能够读取 SonarQube 的代码质量报告、漏洞及异味数据。适合开发人员或测试人员,便于通过 AI 评估项目代码健康度。需配置 SonarQube 凭据。

套件
dsh-sonarqube
版本
0.1.0
授權
MIT
最近更新
2026年8月24日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxmilian/dsh-sonarqube

Configuration

Environment variables are recommended so credentials do not appear in a profile patch:

export SONARQUBE_URL='https://sonarqube.example.com'
export SONARQUBE_TOKEN='your-token'

Plugin config takes precedence over environment variables:

ConfigEnvironment fallbackDefault
baseUrlSONARQUBE_URLrequired
tokenSONARQUBE_TOKENrequired
requestTimeoutMsnone30000
maxResponseBytesnone5242880 (5 MiB)

Do not put token in cordis.patch.yml. If you need non-secret overrides, add a later profile patch (later rows replace the row's whole config):

- id: dsh-sonarqube
  name: dsh-sonarqube
  config:
    baseUrl: 'https://sonarqube.example.com'
    requestTimeoutMs: 30000
    maxResponseBytes: 5242880

The bundle included in this package mounts the plugin without credentials:

- insert:
    - id: dsh-sonarqube
      name: dsh-sonarqube