dsh-sonarqube
Read-only SonarQube Community Build tools for DeepSeek Harness.
AI Analysis
核心用途是让智能体能够读取 SonarQube 的代码质量报告、漏洞及异味数据。适合开发人员或测试人员,便于通过 AI 评估项目代码健康度。需配置 SonarQube 凭据。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxmilian/dsh-sonarqubeREADME
Read the full README ↗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:
| Config | Environment fallback | Default |
|---|---|---|
baseUrl | SONARQUBE_URL | required |
token | SONARQUBE_TOKEN | required |
requestTimeoutMs | none | 30000 |
maxResponseBytes | none | 5242880 (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