dsh-jenkins-plugin 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/README.zh.md +9 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Jenkins integration for [DeepSeek Harness](https://github.com/deepseek-ai/deepse
|
|
|
4
4
|
|
|
5
5
|
Once installed you stop switching to the Jenkins page to watch a build: the jobs you follow become cards in the sidebar with a live progress bar, a notice when a build finishes, and — when a build fails — one button that hands the failure to the model for a diagnosis.
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ dsh plugin --profile web add dsh-jenkins-plugin
|
|
|
16
16
|
|
|
17
17
|
Restart `dsh web`, open **Settings → Jenkins**, add an instance (URL, account, password/API token) and save; the **Jenkins** panel then appears in the right sidebar.
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
|
|
21
21
|
Other sources:
|
|
22
22
|
|
|
@@ -44,8 +44,14 @@ That is permission for this package's code to run on your machine at install tim
|
|
|
44
44
|
- **Following** — one card per followed job: state dot, build number, outcome tag, **live progress bar**, the running stage's name, the change description of the current build, and the Maven project version when the controller reports one. Cards are fed by an SSE stream, not by a polling page.
|
|
45
45
|
- **All jobs** — collapsed by default; ☆/★ at the end of each row follows or unfollows it.
|
|
46
46
|
|
|
47
|
+

|
|
48
|
+
|
|
47
49
|
Clicking a job or a card drills down without ever leaving the panel: build history (paged) → build detail (stage bar, embedded console log, test summary, change set, artifacts). Downloading an artifact is the only action that opens a Jenkins page.
|
|
48
50
|
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+

|
|
54
|
+
|
|
49
55
|
**Writes** happen in the panel as *button → inline confirmation → run → result in place*:
|
|
50
56
|
|
|
51
57
|
| Action | Notes |
|
|
@@ -98,7 +104,7 @@ Please take these as read before installing:
|
|
|
98
104
|
|
|
99
105
|
Static configuration is only the **fallback layer**: instances configured in the settings page win, and static configuration applies when no panel settings exist (as an instance with id `config`). `baseUrl`/`username` may be left empty — that is exactly the "configure everything in the panel" setup.
|
|
100
106
|
|
|
101
|
-

|
|
102
108
|
|
|
103
109
|
```yaml
|
|
104
110
|
- id: jenkins
|
package/README.zh.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
装完之后,你不再需要为了看一次构建进度而切到 Jenkins 页面:关注的 job 变成侧栏里的卡片,进度条实时走,构建结束发通知,失败了一键交给模型分析原因。
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
9
|
## 安装
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ dsh plugin --profile web add dsh-jenkins-plugin
|
|
|
16
16
|
|
|
17
17
|
装完重启 `dsh web`,打开**设置 → Jenkins** 填一个实例(地址 + 账号 + 密码/API token),Save 之后右栏就会出现 **Jenkins** 面板。
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
|
|
21
21
|
其他安装来源:
|
|
22
22
|
|
|
@@ -44,8 +44,14 @@ allowBuilds:
|
|
|
44
44
|
- **我关注的** —— 每个关注的 job 一张卡片:状态点、构建号、状态标签、**实时进度条**、当前阶段名、本次构建的变更说明、Maven 项目的版本号(构建结束后可取到时)。卡片直接来自 SSE 推送,不是轮询页面。
|
|
45
45
|
- **所有 job** —— 默认折叠,展开后每行末尾的 ☆/★ 一键关注。
|
|
46
46
|
|
|
47
|
+

|
|
48
|
+
|
|
47
49
|
点 job 或卡片继续下钻,全程不跳出面板:构建历史(可翻页)→ 构建详情(阶段条、内嵌控制台日志、测试摘要、变更集、产物列表)。产物下载是唯一会打开 Jenkins 页面的动作。
|
|
48
50
|
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+

|
|
54
|
+
|
|
49
55
|
**写操作**都在面板内完成,并且是「按钮 → 行内二次确认 → 执行 → 就地显示结果」:
|
|
50
56
|
|
|
51
57
|
| 动作 | 说明 |
|
|
@@ -98,7 +104,7 @@ allowBuilds:
|
|
|
98
104
|
|
|
99
105
|
静态配置只是**回退层**:面板设置页里配的实例优先,静态配置在没有面板设置时生效(实例 id 为 `config`)。`baseUrl`/`username` 可以留空——那正是"全部在面板里配"的用法。
|
|
100
106
|
|
|
101
|
-

|
|
102
108
|
|
|
103
109
|
```yaml
|
|
104
110
|
- id: jenkins
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-jenkins-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Jenkins integration for DeepSeek Harness: a live build-progress panel in the Web GUI plus model-facing tools for triggering builds, reading stages and console logs, and browsing a build's workspace",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|